Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",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.254/2.254, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001189/0.001189, allocations: 169.1 kB / 498.1 MB, free: 5.754 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.466/1.466, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0008838/0.0008838, allocations: 92.95 kB / 0.9346 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003712, allocations: 10.44 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2867, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.4832, allocations: 151.3 MB / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4835, allocations: 83.89 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02655/0.5101, allocations: 9.522 MB / 1.38 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5101, allocations: 0 / 1.38 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.452e-05/0.5102, allocations: 12 kB / 1.38 GB, free: 1.125 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001855/0.512, allocations: 0.8304 MB / 1.381 GB, free: 244 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.5121, allocations: 12.03 kB / 1.381 GB, free: 232 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.5123, allocations: 94.5 kB / 1.381 GB, free: 128 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.5125, allocations: 71.14 kB / 1.381 GB, free: 56 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007798/0.5133, allocations: 394.7 kB / 1.381 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/0.5134, allocations: 41 kB / 1.381 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5135, allocations: 56 kB / 1.381 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009445/0.5145, allocations: 0.4911 MB / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5145, allocations: 0 / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.5146, allocations: 24 kB / 1.382 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.5146, allocations: 12 kB / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.5153, allocations: 363.8 kB / 1.382 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.5181, allocations: 1.597 MB / 1.384 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.5192, allocations: 0.8943 MB / 1.385 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.5192, allocations: 8 kB / 1.385 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005274/0.5198, allocations: 252.9 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=49): time 2.204e-06/0.5198, allocations: 0 / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.00121/0.521, allocations: 0.561 MB / 1.386 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.5211, allocations: 107.2 kB / 1.386 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.5216, allocations: 348.9 kB / 1.386 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.5217, allocations: 41.69 kB / 1.386 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.5219, allocations: 245.2 kB / 1.386 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.522, allocations: 165.6 kB / 1.386 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.5221, allocations: 12 kB / 1.386 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5223, allocations: 358.8 kB / 1.387 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.5227, allocations: 177 kB / 1.387 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.5232, allocations: 274.5 kB / 1.387 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.5237, allocations: 234.4 kB / 1.387 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5237, allocations: 0 / 1.387 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001103/0.5248, allocations: 0.5635 MB / 1.388 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000402/0.5252, allocations: 0.5755 MB / 1.389 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5252, allocations: 0 / 1.389 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.5253, allocations: 4 kB / 1.389 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.5257, allocations: 95.89 kB / 1.389 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.5257, allocations: 3.984 kB / 1.389 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.5262, allocations: 95.58 kB / 1.389 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.5262, allocations: 23.98 kB / 1.389 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5262, allocations: 4 kB / 1.389 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008163/0.5271, allocations: 460 kB / 1.389 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5271, allocations: 8 kB / 1.389 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.5271, allocations: 11.89 kB / 1.389 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.5274, allocations: 79.91 kB / 1.389 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.5274, allocations: 0 / 1.389 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.5278, allocations: 87.7 kB / 1.389 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.5279, allocations: 19.98 kB / 1.389 GB, free: 7.043 MB / 0.8855 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 (56): * Single equations (assignments): 55 * 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.0003315/0.5282, allocations: 255.4 kB / 1.39 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.664e-05/0.5283, allocations: 47.44 kB / 1.39 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009594/0.5293, allocations: 453.5 kB / 1.39 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.5293, allocations: 15.94 kB / 1.39 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5293, allocations: 0 / 1.39 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5293, allocations: 0 / 1.39 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.5313, allocations: 1.18 MB / 1.391 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5313, allocations: 4 kB / 1.391 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.5317, allocations: 83.89 kB / 1.391 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.5317, allocations: 4 kB / 1.391 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.5318, allocations: 12 kB / 1.391 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.5318, allocations: 7.938 kB / 1.391 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5318, allocations: 4 kB / 1.391 GB, free: 4.902 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.5331, allocations: 0.826 MB / 1.392 GB, free: 4.004 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.5332, allocations: 128.5 kB / 1.392 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.5333, allocations: 16 kB / 1.392 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.5335, allocations: 35.97 kB / 1.392 GB, free: 3.809 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.5336, allocations: 27.97 kB / 1.392 GB, free: 3.781 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.5337, allocations: 23.94 kB / 1.392 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003467/0.534, allocations: 279.2 kB / 1.393 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.984e-06/0.534, allocations: 0 / 1.393 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007258/0.5348, allocations: 207.2 kB / 1.393 GB, free: 3.285 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * 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 (49): * Single equations (assignments): 48 * 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.001796/0.5366, allocations: 1.814 MB / 1.395 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.538, allocations: 0.7842 MB / 1.395 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.538, allocations: 8.125 kB / 1.395 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.5383, allocations: 204 kB / 1.396 GB, free: 392 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.5388, allocations: 88.48 kB / 1.396 GB, free: 308 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.5413, allocations: 2.349 MB / 1.398 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.5418, allocations: 0.859 MB / 1.399 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002257/0.542, allocations: 59.42 kB / 1.399 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.5423, allocations: 187.4 kB / 1.399 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of SimCode: time 6.92e-07/0.5423, allocations: 0 / 1.399 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.5673, allocations: 9.594 MB / 1.408 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.5675, allocations: 188.4 kB / 1.409 GB, free: 3.082 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/2.798, allocations: 4 kB / 1.409 GB, free: 3.078 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat does not exist to compare? outputFormat=mat