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: 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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.0009821/0.0009823, allocations: 184.9 kB / 492.3 MB, free: 0.5977 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.599/1.599, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.0009557/0.0009555, allocations: 87.89 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.978e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3273, allocations: 142.4 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.332, allocations: 151.2 MB / 1.36 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.332, allocations: 79.08 kB / 1.36 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02301/1.355, allocations: 9.5 MB / 1.369 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/1.355, allocations: 0 / 1.369 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.459e-05/1.355, allocations: 11.56 kB / 1.369 GB, free: 34.16 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.001052/1.356, allocations: 0.7556 MB / 1.37 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.356, allocations: 7.625 kB / 1.37 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/1.357, allocations: 68.94 kB / 1.37 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/1.357, allocations: 391.7 kB / 1.371 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/1.357, allocations: 40.81 kB / 1.371 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/1.357, allocations: 55.44 kB / 1.371 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/1.358, allocations: 475.8 kB / 1.371 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/1.358, allocations: 4 kB / 1.371 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/1.358, allocations: 21.36 kB / 1.371 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/1.358, allocations: 11.66 kB / 1.371 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/1.358, allocations: 302.6 kB / 1.371 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/1.361, allocations: 1.607 MB / 1.373 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/1.361, allocations: 0.817 MB / 1.374 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/1.362, allocations: 207.3 kB / 1.374 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/1.362, allocations: 10.12 kB / 1.374 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000364/1.362, allocations: 229.5 kB / 1.374 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=49): time 1.763e-06/1.362, allocations: 0 / 1.374 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49): time 0.0006/1.363, allocations: 372.4 kB / 1.375 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/1.363, allocations: 110.6 kB / 1.375 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/1.363, allocations: 347 kB / 1.375 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/1.363, allocations: 40.11 kB / 1.375 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/1.363, allocations: 246.2 kB / 1.375 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.364, allocations: 164 kB / 1.375 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/1.364, allocations: 13.81 kB / 1.376 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.364, allocations: 362.4 kB / 1.376 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/1.364, allocations: 148.5 kB / 1.376 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/1.364, allocations: 235.1 kB / 1.376 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/1.365, allocations: 201.3 kB / 1.376 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.365, allocations: 0 / 1.376 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007147/1.365, allocations: 0.4948 MB / 1.377 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002549/1.366, allocations: 0.5646 MB / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.366, allocations: 3.984 kB / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/1.366, allocations: 3.875 kB / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/1.366, allocations: 99.06 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.366, allocations: 3.875 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/1.366, allocations: 96.47 kB / 1.378 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/1.366, allocations: 21.84 kB / 1.378 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/1.366, allocations: 3.844 kB / 1.378 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006253/1.367, allocations: 447.1 kB / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.367, allocations: 3.969 kB / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/1.367, allocations: 10.81 kB / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/1.367, allocations: 81.59 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/1.367, allocations: 3.875 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/1.368, allocations: 81.39 kB / 1.378 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/1.368, allocations: 21.23 kB / 1.378 GB, free: 30.18 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.000137/1.368, allocations: 128.1 kB / 1.378 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/1.368, allocations: 48.98 kB / 1.378 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005988/1.369, allocations: 402.3 kB / 1.379 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.369, allocations: 11.64 kB / 1.379 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.369, allocations: 0 / 1.379 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/1.369, allocations: 2.766 kB / 1.379 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/1.37, allocations: 1.119 MB / 1.38 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.37, allocations: 0 / 1.38 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/1.37, allocations: 83.88 kB / 1.38 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/1.37, allocations: 3.844 kB / 1.38 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/1.37, allocations: 15.28 kB / 1.38 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/1.37, allocations: 10.7 kB / 1.38 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.37, allocations: 4 kB / 1.38 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007336/1.371, allocations: 0.7479 MB / 1.381 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/1.371, allocations: 133.7 kB / 1.381 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/1.371, allocations: 10.84 kB / 1.381 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/1.372, allocations: 34.45 kB / 1.381 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/1.372, allocations: 28.56 kB / 1.381 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/1.372, allocations: 25.62 kB / 1.381 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002661/1.372, allocations: 282.5 kB / 1.381 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.372, allocations: 0 / 1.381 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006087/1.373, allocations: 193.6 kB / 1.381 GB, free: 28.98 MB / 0.8386 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.0002073/1.373, allocations: 146 kB / 1.382 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008695/1.374, allocations: 0.7321 MB / 1.382 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.374, allocations: 0 / 1.382 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/1.374, allocations: 171.4 kB / 1.382 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/1.374, allocations: 80.66 kB / 1.383 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/1.375, allocations: 0.7215 MB / 1.383 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/1.376, allocations: 0.8645 MB / 1.384 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003014/1.376, allocations: 78.2 kB / 1.384 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.189e-05/1.376, allocations: 45.3 kB / 1.384 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of SimCode: time 7.31e-07/1.376, allocations: 0 / 1.384 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of Templates: time 0.01111/1.387, allocations: 6.055 MB / 1.39 GB, free: 25.31 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches