Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002928/0.002928, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.619/1.619, allocations: 230.6 MB / 256 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.6/3.6, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 72.31 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.45, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002446/0.4524, allocations: 0.9689 MB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.4543, allocations: 1.281 MB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.4544, allocations: 3.938 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.4545, allocations: 27.73 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.424e-05/0.4546, allocations: 15.75 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.4552, allocations: 177.1 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.4555, allocations: 228.1 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.4557, allocations: 60.89 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.4559, allocations: 99.69 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.456, allocations: 83.59 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.4561, allocations: 24 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.4561, allocations: 31.98 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.4562, allocations: 43.84 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.072e-05/0.4563, allocations: 79.59 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.4566, allocations: 263 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4566, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4566, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4566, allocations: 3.938 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008011/0.4574, allocations: 431.2 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4575, allocations: 8.031 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.4577, allocations: 28.84 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.4579, allocations: 166.4 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.4579, allocations: 16.36 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.458, allocations: 16.38 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.4582, allocations: 133.5 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4583, allocations: 0 / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.4583, allocations: 4 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4583, allocations: 8 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.4585, allocations: 87.95 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.4592, allocations: 403.9 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.4595, allocations: 94.67 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.4596, allocations: 41.03 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.4596, allocations: 3.938 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.4599, allocations: 95.36 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.4599, allocations: 0 / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0004177/0.4603, allocations: 153.5 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.4604, allocations: 59.34 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.4605, allocations: 155.7 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.4605, allocations: 25.7 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.611e-05/0.4606, allocations: 128.4 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.4607, allocations: 39.67 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.713e-05/0.4608, allocations: 41.69 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4609, allocations: 330.8 kB / 1.369 GB, free: 7.621 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.4611, allocations: 85.67 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.4613, allocations: 138.8 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.4615, allocations: 128.2 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4615, allocations: 0 / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004392/0.462, allocations: 248.9 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.462, allocations: 41.78 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.462, allocations: 0 / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.462, allocations: 0 / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.4621, allocations: 15.98 kB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4621, allocations: 7.938 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.4624, allocations: 43.86 kB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.4624, allocations: 11.98 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,enaSig.y,$PRE.enaSig.y,relCon.hys.y,$PRE.relCon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * 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.0001258/0.4625, allocations: 138.3 kB / 1.37 GB, free: 6.699 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.4625, allocations: 7.953 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.4626, allocations: 16.7 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4626, allocations: 0 / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4626, allocations: 4 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4626, allocations: 0 / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.4628, allocations: 173.1 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4628, allocations: 0 / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.4628, allocations: 11.98 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.4628, allocations: 4 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4629, allocations: 0 / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4629, allocations: 4 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4629, allocations: 0 / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.4631, allocations: 160.8 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.4632, allocations: 19.83 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.4632, allocations: 0 / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.4633, allocations: 8 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.4633, allocations: 11.97 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.4633, allocations: 4 kB / 1.371 GB, free: 6.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.534e-05/0.4634, allocations: 121.3 kB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4634, allocations: 0 / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002487/0.4637, allocations: 43.89 kB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,relCon.hys.y,enaSig.y) * Number of discrete states: 1 (relCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001588/0.4638, allocations: 103.2 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.4642, allocations: 201 kB / 1.371 GB, free: 5.746 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4642, allocations: 0 / 1.371 GB, free: 5.746 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.4643, allocations: 43.86 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.4646, allocations: 32.05 kB / 1.371 GB, free: 5.672 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.4651, allocations: 269 kB / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.4653, allocations: 102.8 kB / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.711e-05/0.4653, allocations: 12.97 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.4654, allocations: 19.44 kB / 1.372 GB, free: 5.227 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.4654, allocations: 3.938 kB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of Templates: time 0.00596/0.4713, allocations: 2.271 MB / 1.374 GB, free: 3.016 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.0961475353688]