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.08/2.08, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.0009676/0.0009678, allocations: 180.8 kB / 487.4 MB, free: 5.02 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.33/1.33, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0008606/0.0008606, allocations: 104.4 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.734e-05/1.738e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2293, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8004/1.03, allocations: 152.5 MB / 1.355 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/1.03, allocations: 85.03 kB / 1.355 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0166/1.047, allocations: 8.066 MB / 1.363 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/1.047, allocations: 0 / 1.363 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.293e-05/1.047, allocations: 7.688 kB / 1.363 GB, free: 33.62 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.000701/1.047, allocations: 0.6285 MB / 1.363 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/1.047, allocations: 11.72 kB / 1.363 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/1.048, allocations: 54.31 kB / 1.363 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/1.048, allocations: 365.1 kB / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/1.048, allocations: 11.72 kB / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/1.048, allocations: 27.06 kB / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003274/1.048, allocations: 225.4 kB / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/1.049, allocations: 325 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.049, allocations: 3.938 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/1.049, allocations: 0 / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/1.049, allocations: 11.66 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/1.05, allocations: 1.226 MB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/1.051, allocations: 264.3 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/1.051, allocations: 126.9 kB / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/1.051, allocations: 3.875 kB / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/1.051, allocations: 161.9 kB / 1.366 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.312e-06/1.051, allocations: 0 / 1.366 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0003133/1.052, allocations: 207.7 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/1.052, allocations: 136.3 kB / 1.366 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/1.052, allocations: 275.4 kB / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/1.052, allocations: 25.7 kB / 1.367 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/1.052, allocations: 242.7 kB / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/1.052, allocations: 88.53 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/1.052, allocations: 4 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.052, allocations: 347.1 kB / 1.367 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/1.052, allocations: 78.12 kB / 1.367 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/1.052, allocations: 148.2 kB / 1.368 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/1.053, allocations: 98.3 kB / 1.368 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.053, allocations: 0 / 1.368 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003163/1.053, allocations: 265 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002338/1.053, allocations: 0.5297 MB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.053, allocations: 3.875 kB / 1.369 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.053, allocations: 0 / 1.369 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/1.053, allocations: 74.53 kB / 1.369 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/1.053, allocations: 3.781 kB / 1.369 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/1.054, allocations: 48.86 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/1.054, allocations: 10.53 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.222e-06/1.054, allocations: 3.875 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002487/1.054, allocations: 203.7 kB / 1.369 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/1.054, allocations: 0 / 1.369 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-06/1.054, allocations: 3.812 kB / 1.369 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/1.054, allocations: 55.67 kB / 1.369 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/1.054, allocations: 11.77 kB / 1.369 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/1.054, allocations: 30.19 kB / 1.369 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/1.054, allocations: 11.53 kB / 1.369 GB, free: 30.53 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete 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 9.439e-05/1.054, allocations: 112.8 kB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/1.054, allocations: 34.95 kB / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/1.054, allocations: 36.77 kB / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.054, allocations: 0 / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.055, allocations: 3.844 kB / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/1.055, allocations: 6.672 kB / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008425/1.055, allocations: 0.8523 MB / 1.37 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.055, allocations: 0 / 1.37 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/1.056, allocations: 61.12 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/1.056, allocations: 3.875 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/1.056, allocations: 3.875 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.056, allocations: 6.328 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.056, allocations: 3.844 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/1.056, allocations: 0.6664 MB / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/1.056, allocations: 114.6 kB / 1.371 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/1.056, allocations: 6.156 kB / 1.371 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/1.056, allocations: 24.16 kB / 1.371 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/1.057, allocations: 29.86 kB / 1.371 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/1.057, allocations: 15.58 kB / 1.371 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001618/1.057, allocations: 210.9 kB / 1.371 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.057, allocations: 0 / 1.371 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004446/1.057, allocations: 127.9 kB / 1.371 GB, free: 29.2 MB / 0.8386 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 () * 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.0001245/1.057, allocations: 113.9 kB / 1.371 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003686/1.058, allocations: 327.6 kB / 1.372 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.058, allocations: 3.719 kB / 1.372 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.815e-05/1.058, allocations: 98.92 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/1.058, allocations: 64.7 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/1.059, allocations: 0.5615 MB / 1.372 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/1.059, allocations: 0.8237 MB / 1.373 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001965/1.06, allocations: 49.53 kB / 1.373 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/1.06, allocations: 29.36 kB / 1.373 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.06, allocations: 4 kB / 1.373 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.006036/1.066, allocations: 3.361 MB / 1.376 GB, free: 27.84 MB / 0.8386 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