Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001061/0.001061, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001333/0.001333, allocations: 161 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.036/1.036, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.946/1.946, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.52e-06/5.52e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.572e-05/6.124e-05, allocations: 7.562 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.003137/0.003199, allocations: 0.5564 MB / 0.8121 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 7.422e-05/0.003273, allocations: 7.938 kB / 0.8121 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.003319, allocations: 4 kB / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.689e-05/0.003366, allocations: 2.438 kB / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.003409, allocations: 0 / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.003531, allocations: 0 / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.003643, allocations: 0 / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.003724, allocations: 3.984 kB / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.003772, allocations: 4 kB / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.003805, allocations: 0 / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.00383, allocations: 0.5 kB / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-06/0.003838, allocations: 1.188 kB / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.00386, allocations: 0 / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.003892, allocations: 4 kB / 0.8121 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.003999, allocations: 4 kB / 0.8121 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.004004, allocations: 1.531 kB / 0.8121 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.334e-06/0.004006, allocations: 0 / 0.8121 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.004013, allocations: 3.938 kB / 0.8121 GB, free: 1.145 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000347/0.00436, allocations: 336.4 kB / 0.8124 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.004418, allocations: 13.36 kB / 0.8125 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.004466, allocations: 0.9375 kB / 0.8125 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.004578, allocations: 112.6 kB / 0.8126 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.004593, allocations: 5.781 kB / 0.8126 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.004607, allocations: 384 / 0.8126 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.004708, allocations: 30.25 kB / 0.8126 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.004721, allocations: 5.375 kB / 0.8126 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.004733, allocations: 384 / 0.8126 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.004745, allocations: 384 / 0.8126 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.004764, allocations: 4.469 kB / 0.8126 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.005132, allocations: 470.2 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.00525, allocations: 273.9 kB / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.005293, allocations: 127.8 kB / 0.8134 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.005328, allocations: 119.2 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.005386, allocations: 153.4 kB / 0.8137 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.005387, allocations: 0 / 0.8137 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.751e-05/0.005464, allocations: 38.11 kB / 0.8137 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.005534, allocations: 170.6 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.00564, allocations: 159.3 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.005651, allocations: 25.7 kB / 0.8141 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.005707, allocations: 131.2 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.005709, allocations: 1.156 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.00573, allocations: 15.38 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.005862, allocations: 492.1 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-06/0.005868, allocations: 0.7812 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.005872, allocations: 4 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.005905, allocations: 119.8 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.707e-05/0.005932, allocations: 119.9 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.212e-05/0.005974, allocations: 29.64 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.00602, allocations: 128.1 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.535e-05/0.006055, allocations: 127.1 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.056e-05/0.006126, allocations: 242.4 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.695e-05/0.006163, allocations: 131.9 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.908e-05/0.006222, allocations: 242.5 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.006275, allocations: 128.4 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.006311, allocations: 123.2 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.000103/0.006414, allocations: 391 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.006458, allocations: 157.5 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.006508, allocations: 159.8 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.186e-05/0.00656, allocations: 265 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.369e-05/0.006624, allocations: 268 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.546e-05/0.006679, allocations: 269.6 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.006838, allocations: 499.9 kB / 0.8179 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.463e-05/0.006873, allocations: 152.8 kB / 0.8181 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.006905, allocations: 144.9 kB / 0.8182 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.932e-05/0.006975, allocations: 269 kB / 0.8185 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.6e-05/0.007041, allocations: 268.1 kB / 0.8187 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-05/0.007097, allocations: 272 kB / 0.819 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.548e-05/0.007153, allocations: 271.3 kB / 0.8193 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.007279, allocations: 448 kB / 0.8197 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.007317, allocations: 148.9 kB / 0.8198 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.007378, allocations: 268 kB / 0.8201 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.069e-05/0.007429, allocations: 152.8 kB / 0.8202 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.007492, allocations: 268.1 kB / 0.8205 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.007526, allocations: 149.2 kB / 0.8206 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.007564, allocations: 123.2 kB / 0.8207 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007564, allocations: 0.5 kB / 0.8207 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001531/0.007717, allocations: 1.938 kB / 0.8207 GB, free: 7.926 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001207/0.007838, allocations: 218.4 kB / 0.8209 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.507e-05/0.007883, allocations: 0 / 0.8209 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.007884, allocations: 0 / 0.8209 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.007885, allocations: 1.094 kB / 0.821 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.008202, allocations: 0.7061 MB / 0.8216 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.008415, allocations: 216 kB / 0.8218 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.008449, allocations: 55.34 kB / 0.8219 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.405e-06/0.008451, allocations: 2.312 kB / 0.8219 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.214e-05/0.008464, allocations: 8.5 kB / 0.8219 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.008464, allocations: 3.938 kB / 0.8219 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of Templates: time 0.001442/0.009906, allocations: 167.7 kB / 0.8221 GB, free: 6.508 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.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.438593463972211]