Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.001631, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 196.5 kB / 16.54 MB, free: 6.684 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.7 MB / 0.7452 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 62.61 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4252, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003662/0.429, allocations: 1.849 MB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.4309, allocations: 1.26 MB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.4312, allocations: 4 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.4315, allocations: 79.19 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.4316, allocations: 59.41 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.4321, allocations: 163.8 kB / 1.072 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006094/0.4327, allocations: 485 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004748/0.4332, allocations: 275.4 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.4334, allocations: 175.3 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.4336, allocations: 195 kB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.4338, allocations: 56 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.4339, allocations: 52 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.434, allocations: 119.5 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.4343, allocations: 206.9 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006799/0.435, allocations: 0.5609 MB / 1.074 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.435, allocations: 0 / 1.074 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.524e-06/0.435, allocations: 0 / 1.074 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.435, allocations: 0 / 1.074 GB, free: 4.898 MB / 0.8262 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.001568/0.4366, allocations: 0.7407 MB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.4367, allocations: 8.031 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.4368, allocations: 52.28 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.4373, allocations: 348.3 kB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.4373, allocations: 37.36 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.4374, allocations: 36.38 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/0.4381, allocations: 411.5 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.4382, allocations: 192 / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/0.4383, allocations: 19.94 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.4383, allocations: 8 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008774/0.4392, allocations: 287.8 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.442, allocations: 1.366 MB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.4428, allocations: 246.8 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.443, allocations: 124.8 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.4431, allocations: 8 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.4431, allocations: 30.56 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.4431, allocations: 0 / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0007087/0.4438, allocations: 298.8 kB / 1.078 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.4439, allocations: 110.8 kB / 1.078 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005042/0.4444, allocations: 413.5 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.4445, allocations: 29.7 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.4447, allocations: 251.7 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.4448, allocations: 75 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.4449, allocations: 61.94 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002257/0.4451, allocations: 346.8 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.4454, allocations: 118.1 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.4458, allocations: 208.3 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.4463, allocations: 273.4 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4463, allocations: 0 / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006863/0.447, allocations: 369.1 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.447, allocations: 11.94 kB / 1.08 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.447, allocations: 0 / 1.08 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.447, allocations: 7.938 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.4473, allocations: 71.89 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.4473, allocations: 4 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.4476, allocations: 55.5 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.4476, allocations: 12 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003177/0.4479, allocations: 210.3 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002341/0.4482, allocations: 183 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003732/0.4486, allocations: 229.1 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.4486, allocations: 0 / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005049/0.4491, allocations: 323.2 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.527e-06/0.4491, allocations: 4 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4491, allocations: 7.984 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-06/0.4491, allocations: 4 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.4494, allocations: 63.84 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.4494, allocations: 4 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.4496, allocations: 43.95 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.4496, allocations: 11.98 kB / 1.081 GB, free: 13.09 MB / 0.8419 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.0001397/0.4498, allocations: 208.1 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.4499, allocations: 35.53 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005309/0.4504, allocations: 240.9 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.4504, allocations: 4 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4504, allocations: 0 / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4504, allocations: 0 / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.4517, allocations: 0.7917 MB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4517, allocations: 0 / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.4519, allocations: 43.91 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4519, allocations: 4 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.4519, allocations: 8 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4519, allocations: 7.984 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.452, allocations: 4 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.4528, allocations: 465 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.4529, allocations: 120.6 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.4529, allocations: 8 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.4531, allocations: 19.98 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.4532, allocations: 11.92 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.4532, allocations: 12 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003029/0.4535, allocations: 283.2 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.463e-06/0.4535, allocations: 0 / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005663/0.4541, allocations: 135.5 kB / 1.083 GB, free: 10.59 MB / 0.8419 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.0002782/0.4544, allocations: 117.3 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.4554, allocations: 405.8 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4554, allocations: 4 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.4556, allocations: 91.83 kB / 1.084 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.4562, allocations: 71.64 kB / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.4576, allocations: 0.6685 MB / 1.084 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.4581, allocations: 0.7996 MB / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.4583, allocations: 43.27 kB / 1.085 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.821e-05/0.4584, allocations: 31.42 kB / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.4584, allocations: 0 / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of Templates: time 0.008574/0.467, allocations: 3.479 MB / 1.089 GB, free: 4.855 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches