Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001489/0.001489, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001654/0.001654, allocations: 220.4 kB / 22.25 MB, free: 5.105 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.461/3.461, allocations: 0.49 GB / 0.7951 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002108/0.002108, allocations: 65.81 kB / 1.154 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4206, allocations: 176.1 MB / 1.326 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002782/0.4234, allocations: 0.9731 MB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.4254, allocations: 1.284 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.4255, allocations: 4 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.4257, allocations: 19.73 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/0.4257, allocations: 15.81 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.4263, allocations: 179.6 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.4266, allocations: 232.1 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.4268, allocations: 62.09 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.427, allocations: 111.6 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.4272, allocations: 83.66 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.4273, allocations: 24 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.763e-05/0.4274, allocations: 39.98 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.4274, allocations: 35.84 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.4275, allocations: 71.72 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.4279, allocations: 262.9 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4279, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4279, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.4279, allocations: 4 kB / 1.33 GB, free: 13.6 MB / 1.029 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.0008195/0.4287, allocations: 427.2 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4288, allocations: 12.03 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.4289, allocations: 28.8 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.4292, allocations: 171.2 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.4293, allocations: 16.31 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.4293, allocations: 16.38 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.4296, allocations: 142 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4296, allocations: 4 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.4296, allocations: 8 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4296, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.4299, allocations: 87.95 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007464/0.4306, allocations: 404 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.4309, allocations: 98.61 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.431, allocations: 48.83 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.4311, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.4313, allocations: 99.48 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4313, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004282/0.4318, allocations: 149.5 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.4318, allocations: 51.41 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.432, allocations: 161.5 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.432, allocations: 29.7 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4322, allocations: 128.3 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.4322, allocations: 35.78 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/0.4323, allocations: 45.69 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.4325, allocations: 330.8 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.4326, allocations: 81.67 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.4329, allocations: 149.1 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.4331, allocations: 131.8 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4331, allocations: 0 / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004626/0.4336, allocations: 248.9 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.4336, allocations: 41.69 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4336, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.4336, allocations: 4 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4338, allocations: 19.92 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4338, allocations: 3.984 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.434, allocations: 31.95 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.434, allocations: 12.06 kB / 1.333 GB, free: 10.21 MB / 1.029 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.0001354/0.4341, allocations: 130.3 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.4342, allocations: 19.91 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.4342, allocations: 16.7 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4342, allocations: 4 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.4342, allocations: 0 / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4342, allocations: 0 / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.4344, allocations: 157.2 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4344, allocations: 3.938 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-05/0.4345, allocations: 19.92 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4345, allocations: 4 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.4345, allocations: 0 / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4345, allocations: 0 / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4345, allocations: 4 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.4348, allocations: 156.8 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.4348, allocations: 15.88 kB / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.4349, allocations: 0 / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.4349, allocations: 12 kB / 1.333 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.435, allocations: 11.97 kB / 1.333 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.435, allocations: 4 kB / 1.333 GB, free: 9.598 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.232e-05/0.4351, allocations: 121 kB / 1.333 GB, free: 9.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4351, allocations: 4 kB / 1.333 GB, free: 9.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002643/0.4354, allocations: 39.89 kB / 1.333 GB, free: 9.438 MB / 1.029 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.000173/0.4355, allocations: 107.2 kB / 1.333 GB, free: 9.324 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.436, allocations: 196.9 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.436, allocations: 0 / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.4361, allocations: 43.98 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.4364, allocations: 29.36 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006035/0.437, allocations: 280.9 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.4371, allocations: 102.8 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.969e-05/0.4371, allocations: 12.97 kB / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.4372, allocations: 15.44 kB / 1.334 GB, free: 8.59 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4372, allocations: 0 / 1.334 GB, free: 8.59 MB / 1.029 GB Notification: Performance of Templates: time 0.006413/0.4436, allocations: 2.296 MB / 1.336 GB, free: 6.344 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.766949622891843]