Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.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.001026/0.001026, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001093/0.001093, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.01/1.01, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.435/2.435, 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.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.696e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002784/0.002811, allocations: 1.12 MB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.004896, allocations: 1.337 MB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.005057, allocations: 7.938 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.005216, allocations: 19.73 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.28e-05/0.005308, allocations: 31.67 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.005883, allocations: 203.5 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.006238, allocations: 303.9 kB / 0.8416 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.006428, allocations: 82.22 kB / 0.8417 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.006678, allocations: 175.7 kB / 0.8418 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.006982, allocations: 71.77 kB / 0.8419 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.007032, allocations: 32 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.00716, allocations: 47.91 kB / 0.842 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.007215, allocations: 55.77 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.007315, allocations: 83.81 kB / 0.8421 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.007645, allocations: 211.3 kB / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.007649, allocations: 0 / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.413e-06/0.007651, allocations: 0 / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.007656, allocations: 4 kB / 0.8423 GB, free: 10.41 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006735/0.00833, allocations: 434 kB / 0.8427 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.008369, allocations: 12.62 kB / 0.8427 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.008448, allocations: 32.91 kB / 0.8428 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.008751, allocations: 182.1 kB / 0.8429 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.008783, allocations: 16.7 kB / 0.8429 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.008822, allocations: 24.38 kB / 0.843 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.009055, allocations: 163.1 kB / 0.8431 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.009067, allocations: 192 / 0.8431 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.009085, allocations: 8.359 kB / 0.8431 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.009095, allocations: 4.375 kB / 0.8431 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/0.009186, allocations: 52.45 kB / 0.8432 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.009902, allocations: 351.9 kB / 0.8435 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.01019, allocations: 82.52 kB / 0.8436 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.01023, allocations: 24.84 kB / 0.8436 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.01024, allocations: 4 kB / 0.8436 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.01044, allocations: 154.8 kB / 0.8438 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.793e-06/0.01044, allocations: 0 / 0.8438 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0002436/0.01068, allocations: 129.6 kB / 0.8439 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.01072, allocations: 51.41 kB / 0.844 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.01086, allocations: 166.6 kB / 0.8441 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.01089, allocations: 41.64 kB / 0.8442 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.01097, allocations: 128.5 kB / 0.8443 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.01102, allocations: 47.66 kB / 0.8443 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.961e-05/0.01112, allocations: 61.52 kB / 0.8444 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.01122, allocations: 326.8 kB / 0.8447 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.01131, allocations: 65.61 kB / 0.8448 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.01142, allocations: 105.2 kB / 0.8449 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.01158, allocations: 140.8 kB / 0.845 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01158, allocations: 4 kB / 0.845 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002661/0.01185, allocations: 208.8 kB / 0.8452 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.01189, allocations: 36.98 kB / 0.8452 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01189, allocations: 0 / 0.8452 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01191, allocations: 4 kB / 0.8452 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.01201, allocations: 27.92 kB / 0.8453 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01201, allocations: 4 kB / 0.8453 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.01216, allocations: 40.02 kB / 0.8453 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.01219, allocations: 8 kB / 0.8453 GB, free: 7.082 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.norTimDel.tunEndDel.u,$whenCondition4,$whenCondition5,$PRE.norTimDel.tunEndDel.t_next,$whenCondition1,norTimDel.tunEndDel.t_next,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.u,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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.0001087/0.0123, allocations: 129.8 kB / 0.8454 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.01233, allocations: 23.91 kB / 0.8455 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.01236, allocations: 17.81 kB / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01237, allocations: 0 / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.01237, allocations: 0 / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01237, allocations: 0 / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.01274, allocations: 315.4 kB / 0.8458 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.01274, allocations: 3.938 kB / 0.8458 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.0128, allocations: 23.92 kB / 0.8458 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.0128, allocations: 0 / 0.8458 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01281, allocations: 4 kB / 0.8458 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01282, allocations: 0 / 0.8458 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01282, allocations: 0 / 0.8458 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.013, allocations: 208.3 kB / 0.846 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.01304, allocations: 19.84 kB / 0.846 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.01307, allocations: 11.98 kB / 0.846 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.01317, allocations: 8.031 kB / 0.846 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.01323, allocations: 23.95 kB / 0.8461 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.01324, allocations: 7.938 kB / 0.8461 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.01329, allocations: 47.25 kB / 0.8461 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01329, allocations: 0 / 0.8461 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000298/0.01359, allocations: 51.89 kB / 0.8462 GB, free: 6.148 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,norTimDel.gre.greHys.y,norTimDel.or2.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.t_next,rho.booPul.y,norTimDel.tunEndDel.u) * Number of discrete states: 2 (norTimDel.tunEndDel.t_next,norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001659/0.01376, allocations: 99.89 kB / 0.8463 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.01403, allocations: 213.4 kB / 0.8465 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.01403, allocations: 4 kB / 0.8465 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.01411, allocations: 44.78 kB / 0.8465 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.01437, allocations: 43.84 kB / 0.8465 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.01479, allocations: 310.1 kB / 0.8468 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.485e-05/0.01483, allocations: 75.98 kB / 0.8469 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.07e-05/0.01488, allocations: 21.61 kB / 0.8469 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.015, allocations: 95.34 kB / 0.847 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of SimCode: time 9.82e-07/0.015, allocations: 0 / 0.847 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of Templates: time 0.004746/0.01974, allocations: 2.835 MB / 0.8498 GB, free: 2.453 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.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.303726100828499]