Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.3 MB / 405.3 MB, free: 13.28 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.001601/0.001601, allocations: 182.2 kB / 498.1 MB, free: 5.52 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.691/1.691, allocations: 223.2 MB / 0.7949 GB, free: 17.94 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.001191/0.001191, allocations: 94.45 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 10.28 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3228, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.5169, allocations: 150.4 MB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5172, allocations: 83.94 kB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01827/0.5355, allocations: 6.739 MB / 1.376 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5356, allocations: 0 / 1.376 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.956e-05/0.5356, allocations: 8 kB / 1.376 GB, free: 4.82 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001291/0.5369, allocations: 0.6714 MB / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.537, allocations: 8.031 kB / 1.377 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.5371, allocations: 51.39 kB / 1.377 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.5377, allocations: 330.2 kB / 1.377 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.261e-05/0.5378, allocations: 29 kB / 1.377 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/0.5378, allocations: 39.91 kB / 1.378 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/0.5386, allocations: 395 kB / 1.378 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5386, allocations: 0 / 1.378 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.5387, allocations: 16 kB / 1.378 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.5387, allocations: 8 kB / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006007/0.5393, allocations: 299.8 kB / 1.378 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.5416, allocations: 1.282 MB / 1.379 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.5423, allocations: 291.6 kB / 1.38 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.5423, allocations: 8.219 kB / 1.38 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003904/0.5427, allocations: 201.8 kB / 1.38 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.5427, allocations: 0 / 1.38 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28): time 0.0008428/0.5436, allocations: 388 kB / 1.38 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.5437, allocations: 132.5 kB / 1.38 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.5441, allocations: 348.7 kB / 1.381 GB, free: 148 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.5441, allocations: 33.7 kB / 1.381 GB, free: 108 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.5443, allocations: 208.5 kB / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.5444, allocations: 106.5 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.472e-05/0.5444, allocations: 4 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5446, allocations: 354.7 kB / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.5449, allocations: 123.9 kB / 1.382 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.5453, allocations: 195.4 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.5456, allocations: 137.3 kB / 1.382 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5456, allocations: 0 / 1.382 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000772/0.5464, allocations: 373 kB / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.5466, allocations: 449.9 kB / 1.383 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.5467, allocations: 4 kB / 1.383 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.5467, allocations: 4 kB / 1.383 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.547, allocations: 75.89 kB / 1.383 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.547, allocations: 4 kB / 1.383 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.5473, allocations: 63.5 kB / 1.383 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.5473, allocations: 16 kB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.5473, allocations: 7.953 kB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004702/0.5478, allocations: 253.2 kB / 1.383 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.5478, allocations: 0 / 1.383 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.5478, allocations: 4 kB / 1.383 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.5481, allocations: 63.86 kB / 1.383 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.5481, allocations: 0 / 1.383 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.5483, allocations: 55.77 kB / 1.383 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.5483, allocations: 7.938 kB / 1.383 GB, free: 13.57 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.000239/0.5486, allocations: 233.1 kB / 1.383 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.5487, allocations: 39.52 kB / 1.383 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006068/0.5493, allocations: 313.9 kB / 1.384 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.5493, allocations: 7.953 kB / 1.384 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5493, allocations: 0 / 1.384 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.5493, allocations: 7.984 kB / 1.384 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.5511, allocations: 1.09 MB / 1.385 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5512, allocations: 4 kB / 1.385 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.5514, allocations: 67.89 kB / 1.385 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.5514, allocations: 4 kB / 1.385 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.5515, allocations: 12 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.5515, allocations: 4 kB / 1.385 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.5515, allocations: 4 kB / 1.385 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.5526, allocations: 0.8427 MB / 1.386 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.5527, allocations: 124.6 kB / 1.386 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.5528, allocations: 19.89 kB / 1.386 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.553, allocations: 23.98 kB / 1.386 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.5531, allocations: 27.97 kB / 1.386 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.5531, allocations: 8 kB / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003102/0.5534, allocations: 283.1 kB / 1.386 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5534, allocations: 0 / 1.386 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006069/0.554, allocations: 123.6 kB / 1.386 GB, free: 10.09 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 0.000222/0.5543, allocations: 118.9 kB / 1.386 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.5553, allocations: 440.4 kB / 1.387 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5553, allocations: 0 / 1.387 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.5556, allocations: 132.8 kB / 1.387 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.5561, allocations: 69.52 kB / 1.387 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.5579, allocations: 0.881 MB / 1.388 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.5584, allocations: 0.8041 MB / 1.389 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000204/0.5586, allocations: 39.27 kB / 1.389 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.5587, allocations: 35.42 kB / 1.389 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/0.5587, allocations: 4 kB / 1.389 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of Templates: time 0.00858/0.5673, allocations: 3.391 MB / 1.392 GB, free: 4.109 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches