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.001024/0.001024, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001031/0.001031, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9716/0.9716, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.914/1.914, allocations: 377.8 MB / 0.6239 GB, free: 8.535 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.793e-06/1.793e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.998e-05, allocations: 3.375 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.001615/0.001635, allocations: 1.067 MB / 0.8126 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.002898, allocations: 1.277 MB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.00301, allocations: 7.938 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.003132, allocations: 19.73 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.003194, allocations: 28.81 kB / 0.8139 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.003635, allocations: 176.3 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.003873, allocations: 260 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.004021, allocations: 70.56 kB / 0.8144 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.004149, allocations: 143.7 kB / 0.8145 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.004254, allocations: 67.81 kB / 0.8146 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.004285, allocations: 31.94 kB / 0.8146 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.451e-05/0.00435, allocations: 41.53 kB / 0.8146 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.004385, allocations: 39.89 kB / 0.8147 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.004449, allocations: 67.83 kB / 0.8147 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.004724, allocations: 199.3 kB / 0.8149 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004726, allocations: 1.188 kB / 0.8149 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004727, allocations: 0 / 0.8149 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004731, allocations: 0 / 0.8149 GB, free: 14.6 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.0005384/0.005269, allocations: 0.5264 MB / 0.8154 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.005304, allocations: 8.031 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/0.005371, allocations: 36.8 kB / 0.8155 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.005614, allocations: 196.8 kB / 0.8157 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.005634, allocations: 14.03 kB / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.00566, allocations: 24.38 kB / 0.8157 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.005828, allocations: 145.9 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.005834, allocations: 192 / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.005848, allocations: 8.969 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005854, allocations: 4.312 kB / 0.8159 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.005944, allocations: 60.94 kB / 0.8159 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.006524, allocations: 0.4922 MB / 0.8164 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.006706, allocations: 80.11 kB / 0.8165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.006748, allocations: 31.66 kB / 0.8165 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.006756, allocations: 1.375 kB / 0.8165 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.006871, allocations: 106.7 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.006872, allocations: 192 / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002081/0.00708, allocations: 123.2 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.007112, allocations: 55.41 kB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.007229, allocations: 209.9 kB / 0.817 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.007249, allocations: 29.7 kB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.007329, allocations: 183 kB / 0.8172 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.007351, allocations: 38.28 kB / 0.8172 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.00741, allocations: 51.36 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.007527, allocations: 0.4923 MB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.00761, allocations: 69.67 kB / 0.8178 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/0.007701, allocations: 96.73 kB / 0.8179 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.007806, allocations: 106.4 kB / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.007809, allocations: 7.984 kB / 0.818 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002294/0.008039, allocations: 225 kB / 0.8182 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.008074, allocations: 36.36 kB / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.00808, allocations: 0.5 kB / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.008092, allocations: 4.562 kB / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.008143, allocations: 21.58 kB / 0.8183 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.008149, allocations: 4 kB / 0.8183 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.008247, allocations: 23.94 kB / 0.8183 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.008262, allocations: 7.984 kB / 0.8183 GB, free: 10.84 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 9.011e-05/0.008352, allocations: 167.2 kB / 0.8185 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.008371, allocations: 23.84 kB / 0.8185 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.0084, allocations: 12.78 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.008403, allocations: 11.94 kB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.008408, allocations: 3.938 kB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.008412, allocations: 4.703 kB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.008535, allocations: 172.5 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008536, allocations: 1.062 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.008566, allocations: 15.92 kB / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008568, allocations: 0 / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.008576, allocations: 4.875 kB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008577, allocations: 0 / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.008578, allocations: 0.8438 kB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.00871, allocations: 132.3 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.008724, allocations: 14.02 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.008743, allocations: 11.92 kB / 0.8189 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.713e-05/0.00877, allocations: 4 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.008812, allocations: 19.91 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.008818, allocations: 0 / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.443e-05/0.008883, allocations: 157.6 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008883, allocations: 0.5 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001799/0.009063, allocations: 44.92 kB / 0.8191 GB, free: 10 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.0001069/0.00917, allocations: 104.4 kB / 0.8192 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.009374, allocations: 181.3 kB / 0.8194 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009375, allocations: 1.031 kB / 0.8194 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.009423, allocations: 39.83 kB / 0.8194 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.009603, allocations: 37.97 kB / 0.8194 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.00996, allocations: 274.9 kB / 0.8197 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.009998, allocations: 77.7 kB / 0.8198 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.01004, allocations: 18.42 kB / 0.8198 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.01008, allocations: 16.5 kB / 0.8198 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01008, allocations: 0 / 0.8198 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of Templates: time 0.003985/0.01406, allocations: 2.285 MB / 0.822 GB, free: 7.023 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.283544939011335]