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.001197/0.001197, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001403/0.001403, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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.038/1.038, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.013/2.013, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.799e-05, allocations: 7.078 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002357/0.002375, allocations: 1.038 MB / 0.7611 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.003798, allocations: 1.326 MB / 0.7624 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.818e-05/0.003866, allocations: 4.562 kB / 0.7624 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.657e-05/0.003932, allocations: 21.23 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.003994, allocations: 31.17 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.004296, allocations: 172.7 kB / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.004476, allocations: 231.5 kB / 0.7628 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.004581, allocations: 67.67 kB / 0.7629 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.004735, allocations: 135.7 kB / 0.763 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.004821, allocations: 63.84 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.004846, allocations: 29.06 kB / 0.7631 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.004906, allocations: 43.92 kB / 0.7631 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.00493, allocations: 31.91 kB / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.004978, allocations: 64.59 kB / 0.7632 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.00514, allocations: 175.4 kB / 0.7634 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.005141, allocations: 4.969 kB / 0.7634 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.82e-07/0.005142, allocations: 0 / 0.7634 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.605e-06/0.005144, allocations: 0 / 0.7634 GB, free: 3.227 MB / 0.7136 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.0003493/0.005494, allocations: 394.5 kB / 0.7638 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.258e-05/0.005516, allocations: 9.812 kB / 0.7638 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.361e-05/0.00561, allocations: 36.89 kB / 0.7638 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.005728, allocations: 146.9 kB / 0.7639 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.005739, allocations: 16.36 kB / 0.764 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.005757, allocations: 17.47 kB / 0.764 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.94e-05/0.005856, allocations: 102.9 kB / 0.7641 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.087e-06/0.00586, allocations: 192 / 0.7641 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.005868, allocations: 8.875 kB / 0.7641 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.005873, allocations: 4 kB / 0.7641 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.005918, allocations: 37.77 kB / 0.7641 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.006216, allocations: 288.4 kB / 0.7644 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.006337, allocations: 68.47 kB / 0.7645 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.006364, allocations: 21.03 kB / 0.7645 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.006377, allocations: 3.938 kB / 0.7645 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.942e-05/0.006477, allocations: 84.27 kB / 0.7646 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.006478, allocations: 0 / 0.7646 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001336/0.006612, allocations: 81.59 kB / 0.7646 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.006639, allocations: 56.34 kB / 0.7647 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.006728, allocations: 159.9 kB / 0.7649 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.006749, allocations: 33.7 kB / 0.7649 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.006794, allocations: 114.6 kB / 0.765 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.006818, allocations: 35.69 kB / 0.765 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.006872, allocations: 45.67 kB / 0.7651 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.00695, allocations: 322.8 kB / 0.7654 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.007, allocations: 53.69 kB / 0.7654 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.007071, allocations: 123.8 kB / 0.7655 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.007e-05/0.007151, allocations: 92.16 kB / 0.7656 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007152, allocations: 0 / 0.7656 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001393/0.007292, allocations: 173 kB / 0.7658 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.007323, allocations: 39.98 kB / 0.7658 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.007326, allocations: 1.5 kB / 0.7658 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.007338, allocations: 4 kB / 0.7658 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.007388, allocations: 15.98 kB / 0.7659 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.007391, allocations: 0 / 0.7659 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.582e-05/0.007477, allocations: 36.8 kB / 0.7659 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.007491, allocations: 4.938 kB / 0.7659 GB, free: 456 kB / 0.7136 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 6.691e-05/0.007558, allocations: 122.8 kB / 0.766 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.007572, allocations: 11.92 kB / 0.766 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.007598, allocations: 16.78 kB / 0.766 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.0076, allocations: 5.844 kB / 0.766 GB, free: 288 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.007603, allocations: 3.984 kB / 0.7661 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007606, allocations: 0 / 0.7661 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.082e-05/0.007697, allocations: 105.8 kB / 0.7662 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.007697, allocations: 0 / 0.7662 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.007732, allocations: 16.64 kB / 0.7662 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007734, allocations: 0 / 0.7662 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.00774, allocations: 0.6562 kB / 0.7662 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.007741, allocations: 4.438 kB / 0.7662 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.007742, allocations: 0 / 0.7662 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.143e-05/0.007824, allocations: 108.3 kB / 0.7663 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.007834, allocations: 7.953 kB / 0.7663 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.007849, allocations: 4 kB / 0.7663 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.007885, allocations: 4.203 kB / 0.7663 GB, free: 16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.007922, allocations: 23.84 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.007927, allocations: 0 / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.914e-05/0.007956, allocations: 42.91 kB / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.007956, allocations: 0 / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001285/0.008085, allocations: 38.36 kB / 0.7664 GB, free: 15.9 MB / 0.7292 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 9.726e-05/0.008182, allocations: 96.34 kB / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.008332, allocations: 145.9 kB / 0.7666 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.008335, allocations: 0 / 0.7666 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.008376, allocations: 41.77 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.008497, allocations: 32.14 kB / 0.7667 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.00892, allocations: 270.1 kB / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.364e-05/0.008954, allocations: 72.22 kB / 0.767 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.008992, allocations: 9.719 kB / 0.767 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.717e-05/0.009089, allocations: 91.27 kB / 0.7671 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.009089, allocations: 0.5 kB / 0.7671 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of Templates: time 0.00391/0.013, allocations: 2.348 MB / 0.7694 GB, free: 12.88 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.252097527030855]