Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.272/2.272, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.0009949/0.0009948, allocations: 178.4 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.787/1.787, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.001117/0.001117, allocations: 99.86 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.07e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.334, allocations: 143 MB / 1.219 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9936/1.328, allocations: 152 MB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/1.328, allocations: 80.61 kB / 1.367 GB, free: 2.031 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02643/1.354, allocations: 9.501 MB / 1.377 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/1.354, allocations: 4 kB / 1.377 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.784e-05/1.354, allocations: 12 kB / 1.377 GB, free: 9.914 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001544/1.356, allocations: 0.7458 MB / 1.377 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.356, allocations: 8.031 kB / 1.377 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/1.356, allocations: 75.14 kB / 1.377 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/1.357, allocations: 385.9 kB / 1.378 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/1.357, allocations: 46.48 kB / 1.378 GB, free: 8.688 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.357, allocations: 62.17 kB / 1.378 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007891/1.358, allocations: 477.3 kB / 1.378 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.358, allocations: 0 / 1.378 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/1.358, allocations: 18.38 kB / 1.378 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/1.358, allocations: 12 kB / 1.378 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/1.359, allocations: 302.2 kB / 1.379 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/1.361, allocations: 1.605 MB / 1.38 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/1.362, allocations: 0.8185 MB / 1.381 GB, free: 6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/1.362, allocations: 217.1 kB / 1.381 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/1.362, allocations: 8.219 kB / 1.381 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003568/1.363, allocations: 226.6 kB / 1.381 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=49): time 1.884e-06/1.363, allocations: 0 / 1.381 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49): time 0.0005543/1.363, allocations: 367.8 kB / 1.382 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/1.363, allocations: 107.2 kB / 1.382 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/1.364, allocations: 352.3 kB / 1.382 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/1.364, allocations: 39.88 kB / 1.382 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/1.364, allocations: 251.3 kB / 1.383 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.364, allocations: 163.2 kB / 1.383 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/1.364, allocations: 11.25 kB / 1.383 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.364, allocations: 358.8 kB / 1.383 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/1.365, allocations: 148.4 kB / 1.383 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/1.365, allocations: 233.7 kB / 1.383 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/1.365, allocations: 201.6 kB / 1.384 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.365, allocations: 0 / 1.384 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009108/1.366, allocations: 0.4983 MB / 1.384 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003914/1.367, allocations: 0.5604 MB / 1.385 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.367, allocations: 0 / 1.385 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/1.367, allocations: 4 kB / 1.385 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/1.367, allocations: 102.8 kB / 1.385 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.367, allocations: 0 / 1.385 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/1.368, allocations: 100.1 kB / 1.385 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/1.368, allocations: 19.12 kB / 1.385 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.368, allocations: 9.406 kB / 1.385 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006926/1.368, allocations: 451.3 kB / 1.385 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.368, allocations: 0 / 1.385 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/1.368, allocations: 4 kB / 1.385 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/1.369, allocations: 87.14 kB / 1.385 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/1.369, allocations: 4 kB / 1.385 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/1.369, allocations: 81.67 kB / 1.385 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/1.369, allocations: 18.94 kB / 1.385 GB, free: 2.215 MB / 0.8386 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 () * 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.0001641/1.369, allocations: 135.2 kB / 1.386 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/1.37, allocations: 47.44 kB / 1.386 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006882/1.37, allocations: 404.1 kB / 1.386 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/1.37, allocations: 4 kB / 1.386 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.37, allocations: 3.938 kB / 1.386 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/1.37, allocations: 0 / 1.386 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/1.372, allocations: 1.127 MB / 1.387 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/1.372, allocations: 0 / 1.387 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/1.372, allocations: 87.45 kB / 1.387 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/1.373, allocations: 8.188 kB / 1.387 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/1.373, allocations: 11.12 kB / 1.387 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/1.373, allocations: 8 kB / 1.387 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.373, allocations: 0 / 1.387 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/1.374, allocations: 0.7482 MB / 1.388 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/1.374, allocations: 127.9 kB / 1.388 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/1.374, allocations: 14.44 kB / 1.388 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/1.374, allocations: 34.72 kB / 1.388 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/1.374, allocations: 38.3 kB / 1.388 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/1.374, allocations: 19.23 kB / 1.388 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003387/1.375, allocations: 275.6 kB / 1.388 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.375, allocations: 4 kB / 1.388 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007807/1.375, allocations: 204.5 kB / 1.389 GB, free: 15.46 MB / 0.8542 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 () * 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.0002713/1.376, allocations: 129.9 kB / 1.389 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001256/1.377, allocations: 0.7311 MB / 1.389 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.377, allocations: 0.625 kB / 1.389 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/1.377, allocations: 179.4 kB / 1.39 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/1.378, allocations: 83.17 kB / 1.39 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/1.379, allocations: 0.7207 MB / 1.39 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/1.379, allocations: 0.8676 MB / 1.391 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003198/1.38, allocations: 77.44 kB / 1.391 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/1.38, allocations: 35.42 kB / 1.391 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of SimCode: time 3.9e-07/1.38, allocations: 4 kB / 1.391 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.01266/1.393, allocations: 6.054 MB / 1.397 GB, free: 6.934 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches