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.0008817/0.0008817, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009724/0.0009724, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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.9477/0.9477, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 2.339/2.339, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.81e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001492/0.00151, allocations: 0.9854 MB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.002842, allocations: 1.326 MB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.854e-05/0.002931, allocations: 8 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.003038, allocations: 23.67 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/0.003108, allocations: 23.8 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.003512, allocations: 171.5 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.003716, allocations: 231.9 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.003839, allocations: 62.33 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.004051, allocations: 135.7 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.004153, allocations: 71.83 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.004178, allocations: 20 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.281e-05/0.004241, allocations: 39.94 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.004272, allocations: 39.83 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.004327, allocations: 63.83 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.004522, allocations: 175.4 kB / 0.8419 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004524, allocations: 0 / 0.8419 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004525, allocations: 0 / 0.8419 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.004528, allocations: 0 / 0.8419 GB, free: 10.85 MB / 0.8073 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.0004904/0.005018, allocations: 405.7 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.005052, allocations: 12.62 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.005168, allocations: 32.91 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.005317, allocations: 145.4 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.005331, allocations: 12.38 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.005354, allocations: 20.36 kB / 0.8425 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.005473, allocations: 114.8 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.005479, allocations: 192 / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.005493, allocations: 16.12 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.005498, allocations: 0 / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.21e-05/0.00554, allocations: 27.98 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.0059, allocations: 299.7 kB / 0.8429 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.006043, allocations: 66.53 kB / 0.843 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.006069, allocations: 16.86 kB / 0.843 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.006084, allocations: 0 / 0.843 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.08e-05/0.006175, allocations: 87.41 kB / 0.8431 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.006176, allocations: 0 / 0.8431 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001329/0.006309, allocations: 85.59 kB / 0.8431 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.006339, allocations: 55.41 kB / 0.8432 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.00642, allocations: 150.6 kB / 0.8433 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.006442, allocations: 33.7 kB / 0.8434 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.006492, allocations: 120.3 kB / 0.8435 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.006516, allocations: 35.67 kB / 0.8435 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.006566, allocations: 41.69 kB / 0.8436 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.006643, allocations: 322.8 kB / 0.8439 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.006696, allocations: 53.67 kB / 0.8439 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.00677, allocations: 110.8 kB / 0.844 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.152e-05/0.006851, allocations: 96.19 kB / 0.8441 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006853, allocations: 0 / 0.8441 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001433/0.006996, allocations: 173 kB / 0.8443 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.007024, allocations: 41.62 kB / 0.8443 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007028, allocations: 0 / 0.8443 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.007041, allocations: 4 kB / 0.8443 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.849e-05/0.007089, allocations: 8 kB / 0.8443 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.007093, allocations: 4 kB / 0.8443 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.007173, allocations: 28.03 kB / 0.8444 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.00719, allocations: 11.98 kB / 0.8444 GB, free: 8.043 MB / 0.8073 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 9.138e-05/0.007282, allocations: 121.8 kB / 0.8445 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.007294, allocations: 7.938 kB / 0.8445 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.00732, allocations: 24.7 kB / 0.8445 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007321, allocations: 0 / 0.8445 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007323, allocations: 0 / 0.8445 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.007326, allocations: 4 kB / 0.8445 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.00744, allocations: 109.7 kB / 0.8446 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007441, allocations: 0 / 0.8446 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.007476, allocations: 15.98 kB / 0.8446 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007478, allocations: 0 / 0.8446 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.007487, allocations: 4 kB / 0.8446 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.007489, allocations: 3.938 kB / 0.8446 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.00749, allocations: 0 / 0.8446 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.007611, allocations: 105.6 kB / 0.8447 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.007625, allocations: 7.953 kB / 0.8448 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.007644, allocations: 0 / 0.8448 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.862e-05/0.007673, allocations: 15.92 kB / 0.8448 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.007719, allocations: 7.984 kB / 0.8448 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.007731, allocations: 15.97 kB / 0.8448 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.007765, allocations: 35.67 kB / 0.8448 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.007765, allocations: 0 / 0.8448 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000153/0.007918, allocations: 43.83 kB / 0.8449 GB, free: 7.488 MB / 0.8073 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.0001195/0.008037, allocations: 88.39 kB / 0.8449 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.008227, allocations: 161.9 kB / 0.8451 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.008231, allocations: 4 kB / 0.8451 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.008269, allocations: 28.78 kB / 0.8451 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.008408, allocations: 36.09 kB / 0.8452 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.008857, allocations: 271.5 kB / 0.8454 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.008891, allocations: 67.34 kB / 0.8455 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.729e-05/0.008928, allocations: 12.97 kB / 0.8455 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/0.00902, allocations: 79.34 kB / 0.8456 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.00902, allocations: 4 kB / 0.8456 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of Templates: time 0.00383/0.01285, allocations: 2.355 MB / 0.8479 GB, free: 4.371 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 240] 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","",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.283705971203744]