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.001366/0.001366, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.007565/0.007565, allocations: 167.1 kB / 24.87 MB, free: 8.891 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.922/1.922, allocations: 377.9 MB / 0.6247 GB, free: 8.371 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.493e-06/1.493e-06, allocations: 0 / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.852e-05, allocations: 4.219 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.001675/0.001694, allocations: 1.04 MB / 0.8138 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.003022, allocations: 1.28 MB / 0.8151 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.003125, allocations: 4 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.003254, allocations: 20.64 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.003308, allocations: 27.78 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.003682, allocations: 181.4 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.003896, allocations: 260 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.004031, allocations: 68.88 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.004153, allocations: 144.6 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.004255, allocations: 67.78 kB / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.004285, allocations: 24 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.095e-05/0.004346, allocations: 45.06 kB / 0.8159 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.004381, allocations: 39.84 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.004436, allocations: 69.44 kB / 0.816 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.004627, allocations: 187.4 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004629, allocations: 0 / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.82e-07/0.004629, allocations: 0 / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.004633, allocations: 0 / 0.8161 GB, free: 13.98 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.0005206/0.005153, allocations: 0.5302 MB / 0.8167 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.005187, allocations: 12.03 kB / 0.8167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.005244, allocations: 36.8 kB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.005439, allocations: 198 kB / 0.8169 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.005462, allocations: 16.38 kB / 0.8169 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.005485, allocations: 16.38 kB / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.00563, allocations: 143.2 kB / 0.8171 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005639, allocations: 192 / 0.8171 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.005653, allocations: 12.38 kB / 0.8171 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.00566, allocations: 4.375 kB / 0.8171 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.401e-05/0.005714, allocations: 45.7 kB / 0.8171 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.006227, allocations: 472.5 kB / 0.8176 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.006361, allocations: 66.97 kB / 0.8176 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.006393, allocations: 28.19 kB / 0.8177 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.006402, allocations: 2.062 kB / 0.8177 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.006523, allocations: 114.7 kB / 0.8178 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.006524, allocations: 0 / 0.8178 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0001754/0.006699, allocations: 109.6 kB / 0.8179 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.00673, allocations: 51.41 kB / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.006837, allocations: 214.5 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.006858, allocations: 30.42 kB / 0.8182 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.006955, allocations: 191 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.006976, allocations: 37.17 kB / 0.8184 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.007036, allocations: 51.34 kB / 0.8184 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.007149, allocations: 0.4923 MB / 0.8189 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.007206, allocations: 61.67 kB / 0.819 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.595e-05/0.007272, allocations: 93.34 kB / 0.8191 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/0.007357, allocations: 105.7 kB / 0.8192 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007359, allocations: 0 / 0.8192 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001957/0.007555, allocations: 213.6 kB / 0.8194 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.007581, allocations: 38.33 kB / 0.8194 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.007585, allocations: 0 / 0.8194 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.007594, allocations: 5.297 kB / 0.8194 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.00764, allocations: 15.98 kB / 0.8194 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.007644, allocations: 3.938 kB / 0.8194 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.18e-05/0.007736, allocations: 24.75 kB / 0.8195 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.007753, allocations: 16.92 kB / 0.8195 GB, free: 10.32 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 7.909e-05/0.007832, allocations: 165.8 kB / 0.8196 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.007854, allocations: 19.84 kB / 0.8196 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.00788, allocations: 16.78 kB / 0.8197 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.007881, allocations: 0.9688 kB / 0.8197 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.007883, allocations: 0 / 0.8197 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.007887, allocations: 3.984 kB / 0.8197 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.833e-05/0.007985, allocations: 147.4 kB / 0.8198 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.007986, allocations: 0 / 0.8198 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.008014, allocations: 15.98 kB / 0.8198 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.008015, allocations: 3.938 kB / 0.8198 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.008022, allocations: 3.938 kB / 0.8198 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.008023, allocations: 0 / 0.8198 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008023, allocations: 3.438 kB / 0.8198 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.008131, allocations: 124.3 kB / 0.8199 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.008144, allocations: 15.89 kB / 0.82 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.00816, allocations: 3.938 kB / 0.82 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.885e-05/0.008189, allocations: 15.98 kB / 0.82 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.008219, allocations: 7.984 kB / 0.82 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.008225, allocations: 4 kB / 0.82 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.008277, allocations: 151.1 kB / 0.8201 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008277, allocations: 0 / 0.8201 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001573/0.008434, allocations: 40.75 kB / 0.8202 GB, free: 9.539 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.0001049/0.008539, allocations: 112.3 kB / 0.8203 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.008713, allocations: 177.2 kB / 0.8205 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.008714, allocations: 0.5625 kB / 0.8205 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.008752, allocations: 32.61 kB / 0.8205 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.00893, allocations: 27.52 kB / 0.8205 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.009278, allocations: 287.4 kB / 0.8208 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.009318, allocations: 76.42 kB / 0.8209 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.471e-05/0.009362, allocations: 14.28 kB / 0.8209 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.009467, allocations: 110.2 kB / 0.821 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/0.009467, allocations: 0 / 0.821 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of Templates: time 0.003949/0.01342, allocations: 2.5 MB / 0.8234 GB, free: 6.266 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.400095644872636]