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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007498/0.007498, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001109/0.001109, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.864/2.864, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.09 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4315, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003478/0.435, allocations: 1.851 MB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.4371, allocations: 1.256 MB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003713/0.4375, allocations: 8 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.4378, allocations: 75.19 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.4382, allocations: 55.47 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/0.4388, allocations: 178.5 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006867/0.4395, allocations: 489 kB / 1.212 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005019/0.44, allocations: 271.4 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.4402, allocations: 179.2 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.4405, allocations: 198.9 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.427e-05/0.4406, allocations: 56 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.4407, allocations: 52 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.4408, allocations: 107.7 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.441, allocations: 210.8 kB / 1.213 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006329/0.4416, allocations: 0.5838 MB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.4417, allocations: 0 / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4417, allocations: 0 / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.4417, allocations: 0 / 1.213 GB, free: 4.062 MB / 0.9669 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.00149/0.4432, allocations: 0.7378 MB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.4433, allocations: 12.03 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.4434, allocations: 52.28 kB / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.4441, allocations: 344.3 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.4442, allocations: 37.38 kB / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.4443, allocations: 40.38 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/0.4451, allocations: 411.5 kB / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.4451, allocations: 192 / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.4452, allocations: 23.92 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.4452, allocations: 8 kB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/0.4458, allocations: 287.7 kB / 1.215 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.4486, allocations: 1.366 MB / 1.216 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008121/0.4494, allocations: 250.9 kB / 1.217 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.4497, allocations: 112.8 kB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.4497, allocations: 0 / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.4498, allocations: 46.55 kB / 1.217 GB, free: 184 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.4498, allocations: 0 / 1.217 GB, free: 184 kB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0007812/0.4505, allocations: 302.2 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.4507, allocations: 102.8 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.4512, allocations: 405.6 kB / 1.218 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.4512, allocations: 29.69 kB / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.4515, allocations: 251.7 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.4516, allocations: 74.98 kB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.4517, allocations: 69.92 kB / 1.218 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.4519, allocations: 346.8 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.4522, allocations: 110.1 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.4525, allocations: 212.3 kB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.4531, allocations: 281.4 kB / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.4531, allocations: 4 kB / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007628/0.4539, allocations: 370.5 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4539, allocations: 4 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4539, allocations: 4.219 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.454, allocations: 11.94 kB / 1.219 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.4542, allocations: 67.91 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.4543, allocations: 7.984 kB / 1.219 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.4545, allocations: 51.52 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.4546, allocations: 16 kB / 1.219 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003006/0.4549, allocations: 200.8 kB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002485/0.4551, allocations: 187.3 kB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003366/0.4555, allocations: 230 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.4555, allocations: 3.938 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005518/0.4561, allocations: 313.2 kB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.4561, allocations: 8 kB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.4561, allocations: 0 / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4561, allocations: 7.984 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.4563, allocations: 63.86 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.4564, allocations: 4 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.4566, allocations: 39.72 kB / 1.22 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.4566, allocations: 12 kB / 1.22 GB, free: 12.25 MB / 0.9825 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.0001387/0.4568, allocations: 204.3 kB / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.4568, allocations: 35.53 kB / 1.221 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004926/0.4573, allocations: 242.4 kB / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4574, allocations: 4 kB / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4574, allocations: 0 / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.4574, allocations: 3.984 kB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.4587, allocations: 0.7833 MB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.4587, allocations: 4.156 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.4589, allocations: 47.91 kB / 1.222 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.4589, allocations: 3.938 kB / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.4589, allocations: 11.94 kB / 1.222 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4589, allocations: 4 kB / 1.222 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4589, allocations: 0 / 1.222 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007365/0.4597, allocations: 461.6 kB / 1.222 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.4598, allocations: 124.7 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.4599, allocations: 7.984 kB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.4601, allocations: 19.98 kB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.4601, allocations: 23.92 kB / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.4602, allocations: 7.984 kB / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004019/0.4606, allocations: 283.2 kB / 1.223 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4606, allocations: 0 / 1.223 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006023/0.4612, allocations: 135.5 kB / 1.223 GB, free: 9.746 MB / 0.9825 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.0002708/0.4615, allocations: 107.2 kB / 1.223 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009925/0.4625, allocations: 398.2 kB / 1.223 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4625, allocations: 0 / 1.223 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.4627, allocations: 95.89 kB / 1.223 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.4633, allocations: 67.08 kB / 1.223 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4649, allocations: 0.6711 MB / 1.224 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.4654, allocations: 0.7957 MB / 1.225 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.4656, allocations: 47.23 kB / 1.225 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/0.4657, allocations: 27.44 kB / 1.225 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.4657, allocations: 4 kB / 1.225 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of Templates: time 0.00782/0.4735, allocations: 3.535 MB / 1.228 GB, free: 3.965 MB / 0.9825 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