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.001285/0.001285, allocations: 80.94 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.001004/0.001004, allocations: 177 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 1.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.601/2.601, allocations: 438.8 MB / 0.6826 GB, free: 13.62 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.653e-06/1.653e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.72e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001737/0.001754, allocations: 1.04 MB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.003264, allocations: 1.33 MB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.68e-05/0.003361, allocations: 4 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.003483, allocations: 15.8 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.286e-05/0.003566, allocations: 27.73 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.004032, allocations: 175.4 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.00428, allocations: 228 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.004412, allocations: 62.33 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.004609, allocations: 135.7 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.004721, allocations: 71.77 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.004748, allocations: 20 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.909e-05/0.004827, allocations: 39.92 kB / 0.8417 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.004858, allocations: 39.84 kB / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.004912, allocations: 63.89 kB / 0.8418 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.005113, allocations: 175.4 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005116, allocations: 4 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.32e-07/0.005116, allocations: 0 / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.00512, allocations: 0 / 0.8419 GB, free: 10.77 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.0004485/0.005568, allocations: 393.8 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.005601, allocations: 12.62 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.005716, allocations: 32.91 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.005871, allocations: 150 kB / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.005885, allocations: 16.38 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.005904, allocations: 16.38 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.006036, allocations: 118.8 kB / 0.8426 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.006044, allocations: 192 / 0.8426 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.006056, allocations: 8.125 kB / 0.8426 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.006062, allocations: 4 kB / 0.8426 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.006107, allocations: 27.98 kB / 0.8427 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.006476, allocations: 295.7 kB / 0.843 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.006622, allocations: 70.53 kB / 0.843 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.006648, allocations: 12.86 kB / 0.843 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.006665, allocations: 4 kB / 0.843 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.775e-05/0.006763, allocations: 95.33 kB / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.006764, allocations: 0 / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001374/0.006901, allocations: 81.59 kB / 0.8432 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.006935, allocations: 55.41 kB / 0.8433 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.007016, allocations: 154 kB / 0.8434 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.007035, allocations: 29.7 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.007083, allocations: 124.4 kB / 0.8436 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.007108, allocations: 39.67 kB / 0.8436 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.007162, allocations: 41.69 kB / 0.8436 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.007236, allocations: 318.8 kB / 0.8439 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.512e-05/0.007291, allocations: 57.67 kB / 0.844 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.007363, allocations: 117.3 kB / 0.8441 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.99e-05/0.007443, allocations: 94.03 kB / 0.8442 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007445, allocations: 0 / 0.8442 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001476/0.007592, allocations: 169.1 kB / 0.8444 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.007621, allocations: 49.62 kB / 0.8444 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007626, allocations: 0 / 0.8444 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.007639, allocations: 0 / 0.8444 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.007694, allocations: 15.94 kB / 0.8444 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.007699, allocations: 7.984 kB / 0.8444 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.00778, allocations: 23.98 kB / 0.8444 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.007794, allocations: 7.984 kB / 0.8445 GB, free: 7.961 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 6.954e-05/0.007863, allocations: 113.8 kB / 0.8446 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.007878, allocations: 19.92 kB / 0.8446 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.007901, allocations: 16.78 kB / 0.8446 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007903, allocations: 0 / 0.8446 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.007905, allocations: 3.938 kB / 0.8446 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007908, allocations: 0 / 0.8446 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.042e-05/0.007998, allocations: 109.7 kB / 0.8447 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.007999, allocations: 4 kB / 0.8447 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.008033, allocations: 11.98 kB / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.008036, allocations: 4 kB / 0.8447 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.008041, allocations: 0 / 0.8447 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.008044, allocations: 11.92 kB / 0.8447 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.008046, allocations: 3.984 kB / 0.8447 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.766e-05/0.008134, allocations: 97.03 kB / 0.8448 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.008151, allocations: 7.953 kB / 0.8448 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.008166, allocations: 3.938 kB / 0.8448 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.603e-05/0.008192, allocations: 11.92 kB / 0.8449 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.008227, allocations: 15.97 kB / 0.8449 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.008233, allocations: 4 kB / 0.8449 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.655e-05/0.008259, allocations: 35.27 kB / 0.8449 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.008259, allocations: 0 / 0.8449 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000138/0.008397, allocations: 35.89 kB / 0.8449 GB, free: 7.418 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 9.381e-05/0.008491, allocations: 92.41 kB / 0.845 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.008641, allocations: 153.9 kB / 0.8452 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.008644, allocations: 4 kB / 0.8452 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.008685, allocations: 41.58 kB / 0.8452 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.008829, allocations: 32.11 kB / 0.8453 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.009262, allocations: 265.2 kB / 0.8455 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.474e-05/0.009297, allocations: 71.33 kB / 0.8456 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.009338, allocations: 8.984 kB / 0.8456 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.852e-05/0.009436, allocations: 87.33 kB / 0.8457 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.009437, allocations: 0 / 0.8457 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.003984/0.01342, allocations: 2.36 MB / 0.848 GB, free: 4.289 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 -s gbode -gbm=radauIIA3 -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.536445206031203]