Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 390.3 MB / 405.3 MB, free: 13.54 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: 187.6 kB / 498.1 MB, free: 5.781 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.656/1.656, allocations: 223.2 MB / 0.7949 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.0009841/0.0009843, allocations: 84.39 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004884, allocations: 6.969 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3142, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.511, allocations: 153.2 MB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.5113, allocations: 91.92 kB / 1.373 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01956/0.5309, allocations: 8.142 MB / 1.381 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.531, allocations: 0 / 1.381 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.781e-05/0.531, allocations: 12 kB / 1.381 GB, free: 0.6914 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001356/0.5324, allocations: 0.7015 MB / 1.381 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5324, allocations: 8.031 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.5326, allocations: 47.44 kB / 1.381 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.5333, allocations: 371.4 kB / 1.382 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.5334, allocations: 32.94 kB / 1.382 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.5335, allocations: 40 kB / 1.382 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.5342, allocations: 415 kB / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.5342, allocations: 0 / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.5343, allocations: 20 kB / 1.382 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.5343, allocations: 8 kB / 1.382 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006171/0.5349, allocations: 299.8 kB / 1.382 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.537, allocations: 1.328 MB / 1.384 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.538, allocations: 353.3 kB / 1.384 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.538, allocations: 7.938 kB / 1.384 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.5384, allocations: 193.7 kB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 3.096e-06/0.5384, allocations: 0 / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.0008165/0.5392, allocations: 391.5 kB / 1.385 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.5393, allocations: 136.5 kB / 1.385 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.5398, allocations: 364.8 kB / 1.385 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.5398, allocations: 33.7 kB / 1.385 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.54, allocations: 228.2 kB / 1.385 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.5401, allocations: 98.64 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.5401, allocations: 4 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5402, allocations: 346.8 kB / 1.386 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.5405, allocations: 112 kB / 1.386 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.5408, allocations: 188.5 kB / 1.386 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.541, allocations: 133.7 kB / 1.386 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5411, allocations: 0 / 1.386 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006422/0.5417, allocations: 353 kB / 1.387 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.5419, allocations: 0.5292 MB / 1.387 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.542, allocations: 0 / 1.387 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.542, allocations: 7.938 kB / 1.387 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.5423, allocations: 71.91 kB / 1.387 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.5423, allocations: 11.92 kB / 1.387 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.5425, allocations: 51.67 kB / 1.387 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.5426, allocations: 12 kB / 1.387 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.5426, allocations: 4 kB / 1.387 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003558/0.543, allocations: 241 kB / 1.387 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.543, allocations: 4 kB / 1.387 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/0.543, allocations: 4 kB / 1.387 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.5432, allocations: 51.92 kB / 1.387 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5432, allocations: 3.984 kB / 1.387 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.5434, allocations: 47.67 kB / 1.388 GB, free: 9.211 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.5434, allocations: 8 kB / 1.388 GB, free: 9.203 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: 2 ($whenCondition1,$whenCondition2) * 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.0002419/0.5437, allocations: 248.9 kB / 1.388 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.5437, allocations: 47.41 kB / 1.388 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.5438, allocations: 51.62 kB / 1.388 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.5438, allocations: 4 kB / 1.388 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5439, allocations: 0 / 1.388 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5439, allocations: 0 / 1.388 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.5453, allocations: 1.001 MB / 1.389 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5453, allocations: 0 / 1.389 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.5456, allocations: 59.91 kB / 1.389 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.5456, allocations: 4 kB / 1.389 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.5457, allocations: 8 kB / 1.389 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.5457, allocations: 8.234 kB / 1.389 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5457, allocations: 8 kB / 1.389 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009772/0.5467, allocations: 0.7597 MB / 1.39 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.5468, allocations: 128.5 kB / 1.39 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.5468, allocations: 8 kB / 1.39 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.5471, allocations: 27.98 kB / 1.39 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.5471, allocations: 31.86 kB / 1.39 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.5472, allocations: 12 kB / 1.39 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003133/0.5475, allocations: 287.2 kB / 1.39 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5475, allocations: 0 / 1.39 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005562/0.5481, allocations: 127.5 kB / 1.39 GB, free: 6.191 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$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.0001996/0.5483, allocations: 123.1 kB / 1.39 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000768/0.549, allocations: 401.6 kB / 1.391 GB, free: 5.668 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.5491, allocations: 0 / 1.391 GB, free: 5.668 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.5493, allocations: 152.6 kB / 1.391 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.5498, allocations: 74.89 kB / 1.391 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.5515, allocations: 0.8881 MB / 1.392 GB, free: 4.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.5519, allocations: 0.8236 MB / 1.393 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.5522, allocations: 47.25 kB / 1.393 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/0.5523, allocations: 31.44 kB / 1.393 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/0.5523, allocations: 0 / 1.393 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of Templates: time 0.008346/0.5606, allocations: 3.495 MB / 1.396 GB, free: 112 kB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches