Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset",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.385/2.385, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001115/0.001115, allocations: 183 kB / 498.1 MB, free: 5.684 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.565/1.565, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001019/0.001019, allocations: 104.2 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004978, allocations: 10.31 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3015, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.492, allocations: 157.6 MB / 1.377 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4923, allocations: 79.95 kB / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05575/0.5481, allocations: 19.86 MB / 1.396 GB, free: 384 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5481, allocations: 4 kB / 1.396 GB, free: 380 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001286/0.5482, allocations: 27.98 kB / 1.396 GB, free: 352 kB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002922/0.5512, allocations: 1.245 MB / 1.398 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5512, allocations: 12.03 kB / 1.398 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002565/0.5515, allocations: 106.5 kB / 1.398 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/0.5518, allocations: 126.6 kB / 1.398 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.5534, allocations: 0.7268 MB / 1.398 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.5535, allocations: 83.69 kB / 1.399 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.5537, allocations: 71.95 kB / 1.399 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.5551, allocations: 0.7786 MB / 1.399 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.5552, allocations: 7.922 kB / 1.399 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/0.5552, allocations: 28 kB / 1.399 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.5553, allocations: 16 kB / 1.399 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.5565, allocations: 0.5634 MB / 1.4 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.5605, allocations: 2.349 MB / 1.402 GB, free: 10 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.5622, allocations: 0.7146 MB / 1.403 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.836e-05/0.5623, allocations: 8.562 kB / 1.403 GB, free: 9.273 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000774/0.5631, allocations: 347 kB / 1.403 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=60): time 5.35e-06/0.5631, allocations: 3.984 kB / 1.403 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of matching and sorting (n=60): time 0.001896/0.565, allocations: 0.8223 MB / 1.404 GB, free: 8.082 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.5651, allocations: 145 kB / 1.404 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.5661, allocations: 0.6572 MB / 1.405 GB, free: 7.25 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.746e-05/0.5662, allocations: 33.7 kB / 1.405 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.5666, allocations: 444.5 kB / 1.405 GB, free: 6.77 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.5668, allocations: 209 kB / 1.406 GB, free: 6.562 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.5668, allocations: 8 kB / 1.406 GB, free: 6.555 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.567, allocations: 334 kB / 1.406 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/0.5675, allocations: 217.2 kB / 1.406 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.5681, allocations: 345.9 kB / 1.406 GB, free: 5.637 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.5687, allocations: 258 kB / 1.407 GB, free: 5.387 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5687, allocations: 0 / 1.407 GB, free: 5.387 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00148/0.5702, allocations: 0.701 MB / 1.407 GB, free: 4.68 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003901/0.5706, allocations: 0.8753 MB / 1.408 GB, free: 3.738 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.5706, allocations: 7.953 kB / 1.408 GB, free: 3.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.5706, allocations: 4 kB / 1.408 GB, free: 3.727 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009158/0.5715, allocations: 159.8 kB / 1.408 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.5716, allocations: 15.98 kB / 1.408 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.5723, allocations: 79.41 kB / 1.408 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.5723, allocations: 20 kB / 1.408 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5723, allocations: 4 kB / 1.408 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001155/0.5735, allocations: 0.5637 MB / 1.409 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5735, allocations: 4.062 kB / 1.409 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.5735, allocations: 8 kB / 1.409 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/0.5744, allocations: 151.8 kB / 1.409 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.5744, allocations: 4 kB / 1.409 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.575, allocations: 79.44 kB / 1.409 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.5751, allocations: 20 kB / 1.409 GB, free: 2.625 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0004761/0.5756, allocations: 297 kB / 1.41 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.5758, allocations: 94.78 kB / 1.41 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.5761, allocations: 105.2 kB / 1.41 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.5761, allocations: 8 kB / 1.41 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.5761, allocations: 0 / 1.41 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.5761, allocations: 4 kB / 1.41 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.5789, allocations: 1.525 MB / 1.411 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.5789, allocations: 3.984 kB / 1.411 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/0.5795, allocations: 115.9 kB / 1.411 GB, free: 428 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.5795, allocations: 0 / 1.411 GB, free: 428 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.5796, allocations: 12 kB / 1.411 GB, free: 416 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.5796, allocations: 4 kB / 1.411 GB, free: 412 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5796, allocations: 0 / 1.411 GB, free: 412 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.5815, allocations: 1.045 MB / 1.412 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.5819, allocations: 235.7 kB / 1.413 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.582, allocations: 12 kB / 1.413 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006289/0.5826, allocations: 51.95 kB / 1.413 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.5828, allocations: 40.5 kB / 1.413 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.5828, allocations: 16 kB / 1.413 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007957/0.5836, allocations: 0.5146 MB / 1.413 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5836, allocations: 0 / 1.413 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009011/0.5845, allocations: 283 kB / 1.414 GB, free: 14.18 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002227/0.5868, allocations: 1.619 MB / 1.415 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.5886, allocations: 0.8707 MB / 1.416 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5886, allocations: 0 / 1.416 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.5892, allocations: 287.1 kB / 1.416 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.5903, allocations: 235.3 kB / 1.416 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.5948, allocations: 3.632 MB / 1.42 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.5954, allocations: 1.013 MB / 1.421 GB, free: 6.387 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000626/0.5961, allocations: 114.3 kB / 1.421 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.5966, allocations: 359.3 kB / 1.421 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of SimCode: time 5.45e-06/0.5966, allocations: 0 / 1.421 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4568/1.053, allocations: 16.64 MB / 1.438 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001242/1.054, allocations: 180.5 kB / 1.438 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.303, allocations: 5 kB / 1.438 GB, free: 184.9 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat does not exist to compare? outputFormat=mat