Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.533/2.533, allocations: 387.1 MB / 399.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 184 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.687/1.687, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001072, allocations: 95.88 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.038e-05/8.075e-05, allocations: 4 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3293, allocations: 142.3 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.5, allocations: 154.3 MB / 1.363 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.501, allocations: 89.48 kB / 1.363 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04147/1.542, allocations: 17.39 MB / 1.38 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.605e-06/1.542, allocations: 0 / 1.38 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001043/1.542, allocations: 23.12 kB / 1.38 GB, free: 31.68 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002333/1.545, allocations: 1.057 MB / 1.381 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/1.545, allocations: 11.53 kB / 1.381 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003273/1.545, allocations: 156.4 kB / 1.382 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/1.546, allocations: 116.5 kB / 1.382 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/1.547, allocations: 0.5937 MB / 1.382 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/1.547, allocations: 71.28 kB / 1.382 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/1.547, allocations: 97 kB / 1.382 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/1.549, allocations: 0.8399 MB / 1.383 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/1.549, allocations: 0 / 1.383 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.469e-05/1.549, allocations: 44.16 kB / 1.383 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/1.549, allocations: 26.8 kB / 1.383 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/1.55, allocations: 0.5663 MB / 1.384 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/1.554, allocations: 2.674 MB / 1.386 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009155/1.555, allocations: 0.614 MB / 1.387 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/1.555, allocations: 366.7 kB / 1.387 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/1.555, allocations: 8.5 kB / 1.387 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000482/1.556, allocations: 325.2 kB / 1.388 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.615e-06/1.556, allocations: 0 / 1.388 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0009064/1.557, allocations: 0.5442 MB / 1.388 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/1.557, allocations: 166.2 kB / 1.388 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/1.557, allocations: 0.533 MB / 1.389 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/1.558, allocations: 48.41 kB / 1.389 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/1.558, allocations: 415.3 kB / 1.389 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/1.558, allocations: 268.2 kB / 1.39 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/1.558, allocations: 20.91 kB / 1.39 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.558, allocations: 334.6 kB / 1.39 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/1.558, allocations: 185.7 kB / 1.39 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/1.559, allocations: 308.4 kB / 1.39 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/1.559, allocations: 231 kB / 1.391 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.559, allocations: 0 / 1.391 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008873/1.56, allocations: 0.6148 MB / 1.391 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.56, allocations: 192.5 kB / 1.391 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/1.56, allocations: 0 / 1.391 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/1.56, allocations: 3.812 kB / 1.391 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/1.561, allocations: 161 kB / 1.392 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/1.561, allocations: 7.75 kB / 1.392 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/1.561, allocations: 107.8 kB / 1.392 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/1.561, allocations: 26.7 kB / 1.392 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.561, allocations: 5.031 kB / 1.392 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000673/1.562, allocations: 0.4958 MB / 1.392 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/1.562, allocations: 4.031 kB / 1.392 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/1.562, allocations: 7.828 kB / 1.392 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/1.563, allocations: 137.5 kB / 1.392 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.563, allocations: 4.062 kB / 1.392 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/1.563, allocations: 86.78 kB / 1.392 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/1.563, allocations: 21.41 kB / 1.392 GB, free: 26.73 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001731/1.563, allocations: 147.1 kB / 1.393 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-05/1.563, allocations: 81.44 kB / 1.393 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/1.563, allocations: 88.06 kB / 1.393 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.563, allocations: 7.688 kB / 1.393 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/1.563, allocations: 0 / 1.393 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/1.563, allocations: 3.984 kB / 1.393 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/1.565, allocations: 1.556 MB / 1.394 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.565, allocations: 4 kB / 1.394 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/1.566, allocations: 145.5 kB / 1.394 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/1.566, allocations: 0 / 1.394 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/1.566, allocations: 21.47 kB / 1.394 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.566, allocations: 3.984 kB / 1.394 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.566, allocations: 7.828 kB / 1.394 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/1.567, allocations: 0.9474 MB / 1.395 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/1.567, allocations: 166.2 kB / 1.396 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/1.567, allocations: 14.47 kB / 1.396 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/1.568, allocations: 57.66 kB / 1.396 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.934e-05/1.568, allocations: 47.33 kB / 1.396 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/1.568, allocations: 26.7 kB / 1.396 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004887/1.568, allocations: 428.5 kB / 1.396 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.568, allocations: 0 / 1.396 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007175/1.569, allocations: 311.3 kB / 1.396 GB, free: 25.24 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/1.571, allocations: 1.531 MB / 1.398 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001197/1.572, allocations: 0.8226 MB / 1.399 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.572, allocations: 0 / 1.399 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/1.572, allocations: 282.4 kB / 1.399 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007274/1.573, allocations: 141.5 kB / 1.399 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/1.576, allocations: 1.373 MB / 1.4 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/1.576, allocations: 1.023 MB / 1.401 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005272/1.577, allocations: 130.3 kB / 1.402 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/1.577, allocations: 349.8 kB / 1.402 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.577, allocations: 4 kB / 1.402 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/1.617, allocations: 15.3 MB / 1.417 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/1.617, allocations: 189.8 kB / 1.417 GB, free: 7.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/4.299, allocations: 3.938 kB / 1.417 GB, free: 7.816 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat does not exist to compare? outputFormat=mat