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.0009904/0.0009904, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001043/0.001043, allocations: 161 kB / 23.82 MB, free: 0.7461 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.005/1.005, allocations: 177.1 MB / 204.2 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.97/1.97, allocations: 377.9 MB / 0.6236 GB, free: 8.508 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 3.286e-06/3.286e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.386e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.005383/0.005417, allocations: 1.066 MB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.007077, allocations: 1.273 MB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.01028, allocations: 4 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.01046, allocations: 28.55 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.703e-05/0.01056, allocations: 32.5 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.01116, allocations: 173.2 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.01151, allocations: 264 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.01169, allocations: 68.88 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.01187, allocations: 143.7 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.012, allocations: 65.36 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.01204, allocations: 28 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.66e-05/0.01212, allocations: 43.92 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.01217, allocations: 35.91 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.01225, allocations: 73.19 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.01257, allocations: 187.3 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01258, allocations: 0 / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01258, allocations: 4 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.01258, allocations: 1.75 kB / 0.8149 GB, free: 14.24 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.003786/0.01637, allocations: 0.5288 MB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.01641, allocations: 8.031 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.658e-05/0.0165, allocations: 41.89 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.01676, allocations: 192.3 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.01679, allocations: 13.25 kB / 0.8157 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.01682, allocations: 20.38 kB / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.01701, allocations: 149.9 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.01702, allocations: 1.25 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.01704, allocations: 8.375 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.01705, allocations: 6.781 kB / 0.8159 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.01714, allocations: 60.42 kB / 0.8159 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.01778, allocations: 0.4914 MB / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.01799, allocations: 70.97 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.01803, allocations: 36.12 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.01805, allocations: 0.7188 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.0182, allocations: 114.9 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 2.765e-06/0.01821, allocations: 0.5312 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002535/0.01846, allocations: 111.1 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.0185, allocations: 59.34 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.01864, allocations: 209.9 kB / 0.817 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.01867, allocations: 29.7 kB / 0.817 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.01876, allocations: 187 kB / 0.8172 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.01879, allocations: 36.31 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.01886, allocations: 48.05 kB / 0.8173 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.01899, allocations: 0.4962 MB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.01909, allocations: 66.36 kB / 0.8178 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.179e-05/0.01918, allocations: 107.2 kB / 0.8179 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.01929, allocations: 109.3 kB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.0193, allocations: 0 / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002434/0.01954, allocations: 225.8 kB / 0.8182 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.01958, allocations: 37.7 kB / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01959, allocations: 1.219 kB / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.0196, allocations: 4 kB / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.01966, allocations: 15.92 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.01967, allocations: 4.875 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.01978, allocations: 30.16 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.0198, allocations: 7.984 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 0.0001068/0.01991, allocations: 167.2 kB / 0.8185 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.01993, allocations: 23.84 kB / 0.8185 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.01997, allocations: 12.77 kB / 0.8185 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01998, allocations: 11.09 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.01999, allocations: 0 / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01999, allocations: 0 / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.02014, allocations: 180.6 kB / 0.8187 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02014, allocations: 3.938 kB / 0.8187 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.02018, allocations: 11.94 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.02018, allocations: 0 / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.02019, allocations: 4 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.0202, allocations: 5.219 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.0202, allocations: 0 / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.02036, allocations: 128.3 kB / 0.8189 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.02038, allocations: 23.81 kB / 0.8189 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.0204, allocations: 4.625 kB / 0.8189 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-05/0.02044, allocations: 0.5625 kB / 0.8189 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.0205, allocations: 15.97 kB / 0.8189 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.02051, allocations: 5.188 kB / 0.8189 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.96e-05/0.02059, allocations: 157.6 kB / 0.8191 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.02059, allocations: 0 / 0.8191 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001905/0.02078, allocations: 44.92 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.0001895/0.02097, allocations: 107.9 kB / 0.8192 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.02122, allocations: 182.2 kB / 0.8194 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02122, allocations: 0 / 0.8194 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/0.02128, allocations: 44.92 kB / 0.8194 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.0215, allocations: 35.33 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.0004983/0.02199, allocations: 280 kB / 0.8197 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.089e-05/0.02204, allocations: 71.83 kB / 0.8198 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.512e-05/0.02211, allocations: 19.22 kB / 0.8198 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.02215, allocations: 17.16 kB / 0.8198 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.02215, allocations: 0 / 0.8198 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of Templates: time 0.005475/0.02763, allocations: 2.406 MB / 0.8222 GB, free: 6.531 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.337556263897568]