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.002182/0.002182, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002464/0.002464, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.103/3.103, allocations: 377.8 MB / 0.6232 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.845e-06/2.845e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.265e-05/4.55e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002653/0.002699, allocations: 1.057 MB / 0.8119 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.00468, allocations: 1.256 MB / 0.8131 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.004796, allocations: 5.531 kB / 0.8131 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.004939, allocations: 19.73 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/0.005016, allocations: 23.8 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.005584, allocations: 188.5 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.005936, allocations: 248.1 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.006121, allocations: 74.36 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.006344, allocations: 143.7 kB / 0.8138 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.0065, allocations: 71.77 kB / 0.8138 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.006556, allocations: 32.47 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.00665, allocations: 36 kB / 0.8139 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.006709, allocations: 44.55 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.006814, allocations: 67.89 kB / 0.814 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.007322, allocations: 347.4 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.007326, allocations: 1.594 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.954e-06/0.007328, allocations: 0 / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.007335, allocations: 0 / 0.8143 GB, free: 14.55 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.001267/0.008602, allocations: 0.5369 MB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.008638, allocations: 8.031 kB / 0.8149 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.008744, allocations: 45.56 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.009117, allocations: 204.8 kB / 0.8151 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.009143, allocations: 12.38 kB / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.009194, allocations: 20.91 kB / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.009488, allocations: 169.9 kB / 0.8153 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.009498, allocations: 192 / 0.8153 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.009518, allocations: 9.75 kB / 0.8153 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.009525, allocations: 4.375 kB / 0.8153 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.009713, allocations: 87.91 kB / 0.8154 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.01067, allocations: 0.5502 MB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.01094, allocations: 99.05 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.824e-05/0.01103, allocations: 43.66 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.01105, allocations: 6.25 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.01126, allocations: 118.9 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 3.647e-06/0.01126, allocations: 3.984 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0003639/0.01163, allocations: 149.5 kB / 0.8163 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.01168, allocations: 55.41 kB / 0.8164 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.01194, allocations: 245.1 kB / 0.8166 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.01198, allocations: 29.7 kB / 0.8166 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.01215, allocations: 187.1 kB / 0.8168 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.0122, allocations: 43.75 kB / 0.8169 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.01231, allocations: 55.36 kB / 0.8169 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002938/0.01261, allocations: 0.504 MB / 0.8174 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.01279, allocations: 101.6 kB / 0.8175 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.01298, allocations: 124.7 kB / 0.8176 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.01322, allocations: 145.2 kB / 0.8178 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.01322, allocations: 7.922 kB / 0.8178 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004721/0.0137, allocations: 277.4 kB / 0.818 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.01374, allocations: 30.27 kB / 0.8181 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.01374, allocations: 4.562 kB / 0.8181 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01376, allocations: 0 / 0.8181 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.01384, allocations: 20.98 kB / 0.8181 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01384, allocations: 0 / 0.8181 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.01404, allocations: 28.81 kB / 0.8181 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.01407, allocations: 11.92 kB / 0.8181 GB, free: 10.39 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 0.0001669/0.01424, allocations: 183.6 kB / 0.8183 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.01428, allocations: 23.84 kB / 0.8183 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.01432, allocations: 16.78 kB / 0.8183 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01433, allocations: 4 kB / 0.8183 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01433, allocations: 0.8125 kB / 0.8183 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01434, allocations: 3.984 kB / 0.8183 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.01458, allocations: 193.5 kB / 0.8185 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01458, allocations: 0 / 0.8185 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.01464, allocations: 19.92 kB / 0.8185 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01464, allocations: 5.219 kB / 0.8186 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.01465, allocations: 0 / 0.8186 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01465, allocations: 0 / 0.8186 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01466, allocations: 0.9688 kB / 0.8186 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.01491, allocations: 160.2 kB / 0.8187 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.01494, allocations: 19.83 kB / 0.8187 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.01496, allocations: 4.922 kB / 0.8187 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-05/0.01503, allocations: 8 kB / 0.8187 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.01509, allocations: 13.03 kB / 0.8188 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.0151, allocations: 4 kB / 0.8188 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001442/0.01524, allocations: 173.6 kB / 0.8189 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01524, allocations: 1.031 kB / 0.8189 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002419/0.01548, allocations: 39.89 kB / 0.819 GB, free: 9.473 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.0001777/0.01566, allocations: 108.4 kB / 0.8191 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.01608, allocations: 238.4 kB / 0.8193 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01609, allocations: 0 / 0.8193 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.0162, allocations: 60.84 kB / 0.8193 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.01647, allocations: 30.34 kB / 0.8194 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.01709, allocations: 300.4 kB / 0.8197 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.0172, allocations: 110.3 kB / 0.8198 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.036e-05/0.01726, allocations: 17.14 kB / 0.8198 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.01731, allocations: 16.5 kB / 0.8198 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.01732, allocations: 0 / 0.8198 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of Templates: time 0.006902/0.02422, allocations: 2.277 MB / 0.822 GB, free: 6.367 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.200662808958441]