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.401/2.401, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001128/0.001128, allocations: 174.5 kB / 498.1 MB, free: 5.73 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.58/1.58, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.00097/0.0009698, allocations: 92.33 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004063, allocations: 10.34 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3122, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.5047, allocations: 154.4 MB / 1.374 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/0.5051, allocations: 95.92 kB / 1.374 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04522/0.5503, allocations: 17.43 MB / 1.391 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5504, allocations: 4 kB / 1.391 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.639e-05/0.5505, allocations: 24 kB / 1.391 GB, free: 5.969 MB / 0.8855 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.002077/0.5525, allocations: 1.185 MB / 1.392 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5526, allocations: 8.031 kB / 1.392 GB, free: 4.723 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.5528, allocations: 151.8 kB / 1.392 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.553, allocations: 126.5 kB / 1.392 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009623/0.5539, allocations: 0.5938 MB / 1.393 GB, free: 3.809 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.554, allocations: 74 kB / 1.393 GB, free: 3.734 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.5541, allocations: 99.91 kB / 1.393 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.5557, allocations: 0.9096 MB / 1.394 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.5558, allocations: 0 / 1.394 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.339e-05/0.5558, allocations: 39.94 kB / 1.394 GB, free: 2.668 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.5559, allocations: 24 kB / 1.394 GB, free: 2.645 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.5572, allocations: 0.6793 MB / 1.395 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.5612, allocations: 2.679 MB / 1.397 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.5625, allocations: 0.7277 MB / 1.398 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.5625, allocations: 16.64 kB / 1.398 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007093/0.5633, allocations: 376.3 kB / 1.398 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 2.044e-06/0.5633, allocations: 0 / 1.398 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of matching and sorting (n=77): time 0.001662/0.5649, allocations: 0.8841 MB / 1.399 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.565, allocations: 166.9 kB / 1.399 GB, free: 13 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007132/0.5658, allocations: 0.5386 MB / 1.4 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.5658, allocations: 45.69 kB / 1.4 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.5662, allocations: 424.2 kB / 1.4 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.5664, allocations: 268.1 kB / 1.401 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.5664, allocations: 16 kB / 1.401 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5665, allocations: 330 kB / 1.401 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.567, allocations: 253.8 kB / 1.401 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.5676, allocations: 363.4 kB / 1.402 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.5681, allocations: 282.9 kB / 1.402 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5682, allocations: 0 / 1.402 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001285/0.5694, allocations: 0.7426 MB / 1.403 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.569e-05/0.5695, allocations: 185.9 kB / 1.403 GB, free: 9.516 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.5696, allocations: 4 kB / 1.403 GB, free: 9.512 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.5696, allocations: 4 kB / 1.403 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.5702, allocations: 167.7 kB / 1.403 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5703, allocations: 7.938 kB / 1.403 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.5707, allocations: 107.3 kB / 1.403 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.5707, allocations: 20.08 kB / 1.403 GB, free: 9.211 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.5707, allocations: 4 kB / 1.403 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007706/0.5715, allocations: 0.5233 MB / 1.404 GB, free: 8.684 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5715, allocations: 8.031 kB / 1.404 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.5715, allocations: 4 kB / 1.404 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.572, allocations: 139.8 kB / 1.404 GB, free: 8.535 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.572, allocations: 4 kB / 1.404 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.5723, allocations: 83.31 kB / 1.404 GB, free: 8.449 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.5723, allocations: 23.98 kB / 1.404 GB, free: 8.426 MB / 0.9011 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 () * Number of clocked 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.000426/0.5728, allocations: 301 kB / 1.404 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.5729, allocations: 82.97 kB / 1.404 GB, free: 8.039 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.5731, allocations: 88.16 kB / 1.404 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.5731, allocations: 8 kB / 1.404 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.5731, allocations: 0 / 1.404 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5731, allocations: 7.938 kB / 1.404 GB, free: 7.934 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.5755, allocations: 1.656 MB / 1.406 GB, free: 6.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5755, allocations: 0 / 1.406 GB, free: 6.219 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/0.5761, allocations: 143.8 kB / 1.406 GB, free: 6.078 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.5762, allocations: 8 kB / 1.406 GB, free: 6.07 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/0.5762, allocations: 19.98 kB / 1.406 GB, free: 6.051 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.5762, allocations: 3.953 kB / 1.406 GB, free: 6.047 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5762, allocations: 4 kB / 1.406 GB, free: 6.043 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.578, allocations: 1.104 MB / 1.407 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.5782, allocations: 164 kB / 1.407 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.5783, allocations: 12 kB / 1.407 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.5786, allocations: 55.95 kB / 1.407 GB, free: 4.676 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.5787, allocations: 44.55 kB / 1.407 GB, free: 4.633 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.5788, allocations: 31.94 kB / 1.407 GB, free: 4.602 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005295/0.5793, allocations: 435 kB / 1.408 GB, free: 4.18 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5793, allocations: 0 / 1.408 GB, free: 4.18 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007131/0.58, allocations: 314.5 kB / 1.408 GB, free: 3.871 MB / 0.9011 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 () * Number of clocked 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.002148/0.5822, allocations: 1.685 MB / 1.41 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.5838, allocations: 0.9154 MB / 1.411 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.5838, allocations: 4 kB / 1.411 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.5843, allocations: 331.9 kB / 1.411 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.585, allocations: 154.4 kB / 1.411 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007299/0.5924, allocations: 4.939 MB / 1.416 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.593, allocations: 1.017 MB / 1.417 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003941/0.5934, allocations: 93.73 kB / 1.417 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/0.5939, allocations: 359.3 kB / 1.417 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.5939, allocations: 0 / 1.417 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.496/1.09, allocations: 14.43 MB / 1.431 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/1.09, allocations: 203.7 kB / 1.432 GB, free: 190 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.473, allocations: 0 / 1.432 GB, free: 190 MB / 0.9167 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