Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001052/0.001052, allocations: 184.9 kB / 487.4 MB, free: 5.008 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.591/1.591, allocations: 221.5 MB / 0.7824 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009996/0.0009998, allocations: 95.86 kB / 0.9219 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.352e-05/2.356e-05, allocations: 9.641 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3152, allocations: 142.3 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.375, allocations: 150.6 MB / 1.353 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/1.375, allocations: 72.59 kB / 1.353 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03743/1.412, allocations: 15.99 MB / 1.369 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.704e-06/1.413, allocations: 0 / 1.369 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.102e-05/1.413, allocations: 23.19 kB / 1.369 GB, free: 33.1 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001769/1.414, allocations: 1.085 MB / 1.37 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.414, allocations: 11.66 kB / 1.37 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/1.415, allocations: 116.7 kB / 1.37 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007735/1.415, allocations: 0.5552 MB / 1.37 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/1.415, allocations: 30.72 kB / 1.37 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.617e-05/1.416, allocations: 53.84 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008463/1.416, allocations: 0.4955 MB / 1.371 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009657/1.417, allocations: 0.6761 MB / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/1.417, allocations: 0 / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/1.417, allocations: 6.453 kB / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/1.417, allocations: 19.41 kB / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/1.421, allocations: 2.58 MB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009103/1.422, allocations: 0.5771 MB / 1.375 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/1.422, allocations: 325.2 kB / 1.375 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/1.422, allocations: 8.438 kB / 1.375 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004463/1.423, allocations: 310.7 kB / 1.375 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=75): time 2.004e-06/1.423, allocations: 3.938 kB / 1.375 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75): time 0.0007652/1.424, allocations: 0.5136 MB / 1.376 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/1.424, allocations: 192.2 kB / 1.376 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/1.424, allocations: 454.5 kB / 1.377 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/1.424, allocations: 29.58 kB / 1.377 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/1.425, allocations: 406.7 kB / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/1.425, allocations: 245.6 kB / 1.377 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/1.425, allocations: 3.984 kB / 1.377 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.425, allocations: 379.6 kB / 1.378 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/1.425, allocations: 216.5 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/1.426, allocations: 360.8 kB / 1.378 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/1.426, allocations: 249.5 kB / 1.378 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.426, allocations: 0 / 1.378 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009513/1.427, allocations: 0.6542 MB / 1.379 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002524/1.427, allocations: 0.5709 MB / 1.38 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.427, allocations: 0 / 1.38 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.427, allocations: 7.781 kB / 1.38 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/1.428, allocations: 162 kB / 1.38 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.428, allocations: 7.828 kB / 1.38 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/1.429, allocations: 136.7 kB / 1.38 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/1.429, allocations: 34.77 kB / 1.38 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/1.429, allocations: 5.281 kB / 1.38 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007842/1.429, allocations: 0.5368 MB / 1.38 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/1.429, allocations: 0 / 1.38 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-06/1.429, allocations: 11.55 kB / 1.38 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/1.43, allocations: 126.3 kB / 1.381 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.43, allocations: 7.875 kB / 1.381 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/1.43, allocations: 105.7 kB / 1.381 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/1.43, allocations: 33.36 kB / 1.381 GB, free: 28.32 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 (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.0001591/1.431, allocations: 116.5 kB / 1.381 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/1.431, allocations: 73.83 kB / 1.381 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007515/1.431, allocations: 0.5335 MB / 1.381 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.431, allocations: 7.781 kB / 1.381 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.431, allocations: 3.781 kB / 1.381 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.431, allocations: 7.984 kB / 1.381 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/1.433, allocations: 1.468 MB / 1.383 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.433, allocations: 7.688 kB / 1.383 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/1.434, allocations: 146.9 kB / 1.383 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/1.434, allocations: 7.859 kB / 1.383 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/1.434, allocations: 11.12 kB / 1.383 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/1.434, allocations: 8 kB / 1.383 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.434, allocations: 3.812 kB / 1.383 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.435, allocations: 1.041 MB / 1.384 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/1.435, allocations: 162.3 kB / 1.384 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/1.435, allocations: 3.875 kB / 1.384 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/1.435, allocations: 50.61 kB / 1.384 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/1.436, allocations: 54.45 kB / 1.384 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/1.436, allocations: 29.39 kB / 1.384 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003669/1.436, allocations: 345.2 kB / 1.385 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.31e-07/1.436, allocations: 0 / 1.385 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007599/1.437, allocations: 304.3 kB / 1.385 GB, free: 26.47 MB / 0.8386 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 () * 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.0002415/1.437, allocations: 129.9 kB / 1.385 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001185/1.438, allocations: 0.9908 MB / 1.386 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.438, allocations: 0 / 1.386 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/1.438, allocations: 261.4 kB / 1.386 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/1.439, allocations: 143.6 kB / 1.386 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/1.441, allocations: 1.076 MB / 1.387 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/1.441, allocations: 1.008 MB / 1.388 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004852/1.442, allocations: 121.9 kB / 1.389 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/1.442, allocations: 57.55 kB / 1.389 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.442, allocations: 0 / 1.389 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of Templates: time 0.01279/1.455, allocations: 8.707 MB / 1.397 GB, free: 20.5 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PID.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches