Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001426/0.001426, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.00181/0.00181, allocations: 165 kB / 23.82 MB, free: 0.75 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.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.923/1.923, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.884e-05, allocations: 3.484 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.00162/0.001638, allocations: 1.072 MB / 0.8126 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.002894, allocations: 1.271 MB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.003, allocations: 12.56 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.003127, allocations: 20.64 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.003184, allocations: 31.78 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.003601, allocations: 177.3 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.003816, allocations: 260 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.003961, allocations: 68.89 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.004075, allocations: 136.6 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.004178, allocations: 71.77 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.00421, allocations: 29.19 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.004275, allocations: 43.92 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.004306, allocations: 39.91 kB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/0.004372, allocations: 71.81 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.004605, allocations: 192.8 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004607, allocations: 4 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.92e-07/0.004608, allocations: 0 / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.004612, allocations: 0 / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005457/0.005158, allocations: 0.5302 MB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.005192, allocations: 12.03 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.514e-05/0.005257, allocations: 36.8 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.005487, allocations: 194.1 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.005509, allocations: 12.38 kB / 0.8157 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.005536, allocations: 20.38 kB / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.005708, allocations: 151.3 kB / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.005718, allocations: 192 / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.005734, allocations: 4.375 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.005742, allocations: 4.375 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.005825, allocations: 57.05 kB / 0.8159 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.006361, allocations: 0.4939 MB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.006525, allocations: 74.92 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.006567, allocations: 35.64 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.006577, allocations: 4 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.006733, allocations: 114.7 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.006734, allocations: 0.5312 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.000205/0.006939, allocations: 118.4 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.006968, allocations: 51.41 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.007086, allocations: 215.2 kB / 0.817 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.007106, allocations: 37.69 kB / 0.817 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.007183, allocations: 183.1 kB / 0.8172 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.007204, allocations: 36.31 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.007263, allocations: 47.36 kB / 0.8173 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.007378, allocations: 0.4933 MB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.178e-05/0.00747, allocations: 69.67 kB / 0.8178 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.00758, allocations: 100.7 kB / 0.8179 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.007713, allocations: 110.2 kB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007715, allocations: 0 / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002918/0.008006, allocations: 230.2 kB / 0.8183 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.008037, allocations: 33.7 kB / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008042, allocations: 0 / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.008056, allocations: 0.8125 kB / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.008117, allocations: 23.92 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.008122, allocations: 0.9375 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.008242, allocations: 25.28 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.008263, allocations: 11.98 kB / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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 8.934e-05/0.008352, allocations: 165.5 kB / 0.8185 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.008374, allocations: 19.84 kB / 0.8185 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.008411, allocations: 20.77 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008413, allocations: 2.312 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.008418, allocations: 8 kB / 0.8186 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008422, allocations: 0 / 0.8186 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.008557, allocations: 180.4 kB / 0.8187 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008558, allocations: 0 / 0.8187 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.008595, allocations: 15.88 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.008597, allocations: 3.438 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.008611, allocations: 4 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.008613, allocations: 4 kB / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008614, allocations: 0 / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.008766, allocations: 128.3 kB / 0.8189 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.008784, allocations: 15.88 kB / 0.8189 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.008803, allocations: 4 kB / 0.8189 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.008839, allocations: 4 kB / 0.8189 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.008885, allocations: 15.91 kB / 0.8189 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.008896, allocations: 8.781 kB / 0.8189 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.202e-05/0.008968, allocations: 155.1 kB / 0.8191 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008968, allocations: 0.5 kB / 0.8191 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002324/0.0092, allocations: 40.45 kB / 0.8191 GB, free: 9.645 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,norTimDel.gre.greHys.y,norTimDel.or2.y,rho.booPul.y) * Number of discrete states: 1 (norTimDel.gre.greHys.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.0001112/0.009312, allocations: 113.1 kB / 0.8192 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.00955, allocations: 176.7 kB / 0.8194 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009552, allocations: 0 / 0.8194 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.279e-05/0.009604, allocations: 32.3 kB / 0.8194 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.009835, allocations: 48.95 kB / 0.8195 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.01023, allocations: 275.5 kB / 0.8197 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.01027, allocations: 73.08 kB / 0.8198 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.882e-05/0.01032, allocations: 17.05 kB / 0.8198 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.01036, allocations: 20.5 kB / 0.8198 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of SimCode: time 8.91e-07/0.01036, allocations: 0 / 0.8198 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of Templates: time 0.004642/0.015, allocations: 2.28 MB / 0.8221 GB, free: 6.668 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.4333381787873805]