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.00112/0.00112, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.004237/0.004237, allocations: 161 kB / 24.16 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 0.9692/0.9692, allocations: 177.1 MB / 204.6 MB, free: 5.48 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 1.835/1.835, allocations: 377.9 MB / 0.624 GB, free: 8.328 MB / 0.5886 GB " [Timeout remaining time 178] 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 3.026e-06/3.026e-06, allocations: 3.984 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.83e-05, allocations: 2.312 kB / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001623/0.001641, allocations: 0.9994 MB / 0.761 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.00331, allocations: 1.322 MB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.003399, allocations: 4.656 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.003517, allocations: 20.72 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.003597, allocations: 30.45 kB / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.004009, allocations: 178 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.004222, allocations: 232.2 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.004356, allocations: 62.31 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.00455, allocations: 136.8 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.004654, allocations: 63.78 kB / 0.763 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.004682, allocations: 24.97 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.004748, allocations: 43.91 kB / 0.763 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.004777, allocations: 39.84 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.004832, allocations: 64.61 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.00502, allocations: 167.5 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005022, allocations: 1.219 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.005023, allocations: 0 / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.005025, allocations: 0 / 0.7633 GB, free: 3.25 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.0004482/0.005473, allocations: 403.6 kB / 0.7637 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.005509, allocations: 8.031 kB / 0.7637 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.005631, allocations: 32.91 kB / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.005787, allocations: 153 kB / 0.7639 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.005804, allocations: 12.38 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.005829, allocations: 16.38 kB / 0.7639 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.00595, allocations: 102.9 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005958, allocations: 192 / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.005969, allocations: 8.125 kB / 0.764 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.005977, allocations: 9.328 kB / 0.764 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.607e-05/0.006023, allocations: 36.97 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.006387, allocations: 289.1 kB / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.006549, allocations: 70.47 kB / 0.7644 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.006579, allocations: 22.09 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.006594, allocations: 0 / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.421e-05/0.006688, allocations: 79.28 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.00669, allocations: 4.75 kB / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001416/0.006831, allocations: 81.67 kB / 0.7646 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.006862, allocations: 63.92 kB / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.006941, allocations: 154.4 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.006962, allocations: 33.7 kB / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.007013, allocations: 117.6 kB / 0.7649 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.007035, allocations: 35.67 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.007088, allocations: 41.69 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.00716, allocations: 326.1 kB / 0.7653 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.007212, allocations: 49.69 kB / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.00728, allocations: 118.8 kB / 0.7655 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.417e-05/0.007364, allocations: 95.53 kB / 0.7655 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007366, allocations: 0 / 0.7655 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001393/0.007506, allocations: 173 kB / 0.7657 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.007533, allocations: 40.67 kB / 0.7657 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.007536, allocations: 0 / 0.7657 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.007549, allocations: 4 kB / 0.7658 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/0.007598, allocations: 15.92 kB / 0.7658 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.007602, allocations: 4 kB / 0.7658 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-05/0.007684, allocations: 31.92 kB / 0.7658 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.007696, allocations: 4 kB / 0.7658 GB, free: 476 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.594e-05/0.007762, allocations: 119.3 kB / 0.7659 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.007775, allocations: 11.92 kB / 0.7659 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.007799, allocations: 16.78 kB / 0.7659 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.007801, allocations: 0.75 kB / 0.7659 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.007803, allocations: 3.984 kB / 0.766 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.007806, allocations: 0.75 kB / 0.766 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.092e-05/0.007897, allocations: 109.7 kB / 0.7661 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.007898, allocations: 4.75 kB / 0.7661 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.007929, allocations: 19.92 kB / 0.7661 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007931, allocations: 0.6562 kB / 0.7661 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.007938, allocations: 4.969 kB / 0.7661 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.00794, allocations: 3.938 kB / 0.7661 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.007941, allocations: 0 / 0.7661 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.094e-05/0.008022, allocations: 99.67 kB / 0.7662 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.008035, allocations: 7.953 kB / 0.7662 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.008051, allocations: 0 / 0.7662 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.008077, allocations: 11.94 kB / 0.7662 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.00811, allocations: 11.97 kB / 0.7662 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.008115, allocations: 0 / 0.7662 GB, free: 4 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.008155, allocations: 44.67 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008155, allocations: 3.125 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000138/0.008293, allocations: 39.89 kB / 0.7663 GB, free: 15.92 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.887e-05/0.008392, allocations: 84.36 kB / 0.7664 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.008549, allocations: 161.8 kB / 0.7665 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.008552, allocations: 4 kB / 0.7665 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.008591, allocations: 30.52 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.008715, allocations: 30.47 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.009137, allocations: 278 kB / 0.7669 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.054e-05/0.009168, allocations: 67.34 kB / 0.7669 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.009206, allocations: 13.62 kB / 0.7669 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.397e-05/0.0093, allocations: 75.36 kB / 0.767 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.0093, allocations: 0.625 kB / 0.767 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.004055/0.01335, allocations: 2.357 MB / 0.7693 GB, free: 12.91 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 -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: 4.987402128987014]