Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,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.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,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.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 59.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8406/0.8421, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002912/0.845, allocations: 1.849 MB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.8469, allocations: 1.262 MB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.8471, allocations: 8.312 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.8474, allocations: 74.06 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.8476, allocations: 59.64 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.848, allocations: 163.6 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.8484, allocations: 490.6 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.8489, allocations: 271.2 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.8491, allocations: 175.8 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.8494, allocations: 198.5 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.814e-05/0.8494, allocations: 57.09 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.671e-05/0.8495, allocations: 52.19 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.8496, allocations: 105.8 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.8498, allocations: 219.7 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000671/0.8505, allocations: 0.5772 MB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8505, allocations: 4 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8505, allocations: 0.75 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.8505, allocations: 0 / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001214/0.8517, allocations: 0.7343 MB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.8518, allocations: 10.14 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.8519, allocations: 49.47 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.8524, allocations: 351.9 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.8525, allocations: 30.09 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.8525, allocations: 47.66 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/0.8533, allocations: 407.3 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.8533, allocations: 0.9688 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.8533, allocations: 20.98 kB / 1.096 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.8534, allocations: 13.06 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.854, allocations: 278.9 kB / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.8562, allocations: 1.377 MB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007982/0.857, allocations: 245.8 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.8574, allocations: 122 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.8574, allocations: 3.859 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.8574, allocations: 36.19 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.8575, allocations: 3.938 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.0008381/0.8583, allocations: 299.5 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.8584, allocations: 106.2 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.8589, allocations: 407 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.859, allocations: 32.09 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.8592, allocations: 251.3 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.8593, allocations: 75.42 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.8594, allocations: 69.52 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8596, allocations: 346.2 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.8599, allocations: 113 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.8602, allocations: 207.4 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.8608, allocations: 274.5 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.8608, allocations: 0 / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007768/0.8615, allocations: 367.8 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.8616, allocations: 6.594 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.8616, allocations: 6.625 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.8616, allocations: 11.73 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.8619, allocations: 68.36 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.862, allocations: 4.891 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.8622, allocations: 59.55 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.8623, allocations: 9.453 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002873/0.8626, allocations: 201.9 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002419/0.8628, allocations: 181.7 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003336/0.8632, allocations: 239.4 kB / 1.101 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.8632, allocations: 1.062 kB / 1.101 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005451/0.8637, allocations: 317 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.8638, allocations: 5.953 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8638, allocations: 2.188 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.8638, allocations: 4.031 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.864, allocations: 70.19 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.864, allocations: 4.312 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.8643, allocations: 37.55 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.8643, allocations: 20.94 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.8644, allocations: 198.9 kB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.8645, allocations: 33.53 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005362/0.865, allocations: 241.8 kB / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.8651, allocations: 2.156 kB / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8651, allocations: 0 / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.8651, allocations: 6.672 kB / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.8665, allocations: 0.7858 MB / 1.103 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.8665, allocations: 6.516 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.8667, allocations: 47.38 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.8667, allocations: 2.188 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.8668, allocations: 4.781 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.8668, allocations: 2.812 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8668, allocations: 2.016 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.8676, allocations: 463 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.8678, allocations: 119.7 kB / 1.103 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.8678, allocations: 7.984 kB / 1.103 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.868, allocations: 19.59 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.8681, allocations: 18.77 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.8681, allocations: 7.062 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004243/0.8685, allocations: 284.6 kB / 1.103 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8685, allocations: 0.5625 kB / 1.103 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005929/0.8691, allocations: 131.3 kB / 1.104 GB, free: 11.79 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001886/0.8693, allocations: 115.8 kB / 1.104 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008313/0.8702, allocations: 396 kB / 1.104 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.8702, allocations: 4.312 kB / 1.104 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.8704, allocations: 90.06 kB / 1.104 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.8709, allocations: 73.77 kB / 1.104 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.8723, allocations: 0.6951 MB / 1.105 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.8727, allocations: 0.8018 MB / 1.106 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.8728, allocations: 31.58 kB / 1.106 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.8728, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of Templates: time 0.008905/0.8817, allocations: 4.365 MB / 1.11 GB, free: 9.848 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches