Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.446/2.446, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.00117/0.00117, allocations: 183.9 kB / 0.4901 GB, free: 2.227 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.626/1.626, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009434/0.0009435, allocations: 104 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 13.88 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3205, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.516, allocations: 152.1 MB / 1.378 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.5163, allocations: 79.95 kB / 1.378 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0438/0.5601, allocations: 16.13 MB / 1.394 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5602, allocations: 0 / 1.394 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.927e-05/0.5602, allocations: 24 kB / 1.394 GB, free: 1.059 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002181/0.5624, allocations: 1.23 MB / 1.395 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5625, allocations: 12.56 kB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.5626, allocations: 135.4 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.5628, allocations: 118.5 kB / 1.395 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008362/0.5637, allocations: 0.5647 MB / 1.396 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-05/0.5637, allocations: 74 kB / 1.396 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.5639, allocations: 88 kB / 1.396 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.5654, allocations: 0.8713 MB / 1.397 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.5654, allocations: 0 / 1.397 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.5655, allocations: 36 kB / 1.397 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.5655, allocations: 27.94 kB / 1.397 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.5669, allocations: 0.6831 MB / 1.397 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.5711, allocations: 2.781 MB / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.5728, allocations: 0.8012 MB / 1.401 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.075e-05/0.5729, allocations: 12.55 kB / 1.401 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008048/0.5737, allocations: 396.2 kB / 1.401 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=75): time 3.968e-06/0.5737, allocations: 0 / 1.401 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75): time 0.001853/0.5756, allocations: 0.9458 MB / 1.402 GB, free: 8.059 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.5757, allocations: 188.6 kB / 1.402 GB, free: 7.832 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000777/0.5765, allocations: 0.621 MB / 1.403 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.5766, allocations: 43.23 kB / 1.403 GB, free: 7.164 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.5769, allocations: 412.4 kB / 1.403 GB, free: 6.754 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.5771, allocations: 244.4 kB / 1.404 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.5772, allocations: 16 kB / 1.404 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5773, allocations: 334 kB / 1.404 GB, free: 6.164 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006691/0.578, allocations: 305.8 kB / 1.404 GB, free: 5.863 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007881/0.5788, allocations: 456.1 kB / 1.405 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.5795, allocations: 364.2 kB / 1.405 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.5795, allocations: 3.953 kB / 1.405 GB, free: 5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00177/0.5813, allocations: 0.8984 MB / 1.406 GB, free: 4.094 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/0.5816, allocations: 0.5576 MB / 1.407 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5816, allocations: 4 kB / 1.407 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.5817, allocations: 4 kB / 1.407 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.5823, allocations: 163.8 kB / 1.407 GB, free: 3.316 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.5823, allocations: 11.92 kB / 1.407 GB, free: 3.305 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006545/0.583, allocations: 171.1 kB / 1.407 GB, free: 3.137 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/0.5831, allocations: 31.94 kB / 1.407 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.5831, allocations: 4 kB / 1.407 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/0.5842, allocations: 0.6517 MB / 1.408 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5842, allocations: 4 kB / 1.408 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.211e-06/0.5843, allocations: 4 kB / 1.408 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.5848, allocations: 135.8 kB / 1.408 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.5848, allocations: 7.984 kB / 1.408 GB, free: 2.297 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.5853, allocations: 123.5 kB / 1.408 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.5854, allocations: 31.98 kB / 1.408 GB, free: 2.145 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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.0004296/0.5858, allocations: 301.8 kB / 1.408 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.5859, allocations: 86.88 kB / 1.408 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.5874, allocations: 0.7328 MB / 1.409 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.5874, allocations: 11.95 kB / 1.409 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5875, allocations: 0 / 1.409 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.5875, allocations: 3.984 kB / 1.409 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.5904, allocations: 1.769 MB / 1.411 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.5905, allocations: 7.938 kB / 1.411 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/0.5911, allocations: 152.1 kB / 1.411 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.5911, allocations: 7.938 kB / 1.411 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.5912, allocations: 19.98 kB / 1.411 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.5912, allocations: 4 kB / 1.411 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5912, allocations: 4 kB / 1.411 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.5934, allocations: 1.306 MB / 1.412 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.5936, allocations: 172 kB / 1.412 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.5937, allocations: 23.98 kB / 1.412 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.5942, allocations: 67.91 kB / 1.412 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.5943, allocations: 48.44 kB / 1.412 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.5943, allocations: 28 kB / 1.412 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007065/0.595, allocations: 0.4912 MB / 1.413 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.01e-07/0.595, allocations: 0 / 1.413 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009677/0.596, allocations: 318.9 kB / 1.413 GB, free: 12.39 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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.002774/0.5988, allocations: 2.524 MB / 1.416 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.6012, allocations: 1.176 MB / 1.417 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.6012, allocations: 0 / 1.417 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006541/0.6019, allocations: 351.8 kB / 1.417 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009401/0.6028, allocations: 159.5 kB / 1.417 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.6072, allocations: 3.39 MB / 1.421 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.6078, allocations: 1.002 MB / 1.422 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004475/0.6083, allocations: 102.2 kB / 1.422 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004901/0.6088, allocations: 359.2 kB / 1.422 GB, free: 3.047 MB / 0.9167 GB Notification: Performance of SimCode: time 8.71e-07/0.6088, allocations: 0 / 1.422 GB, free: 3.047 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5675/1.176, allocations: 16.03 MB / 1.438 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/1.177, allocations: 179.3 kB / 1.438 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.731, allocations: 1.344 kB / 1.438 GB, free: 181.4 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat does not exist to compare? outputFormat=mat