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.0009203/0.0009203, 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.0009059/0.0009059, 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 0.9155/0.9155, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.873/1.873, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.705e-06/2.705e-06, allocations: 0 / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.8e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001215/0.001243, allocations: 0.5686 MB / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.867e-05/0.001292, allocations: 4.656 kB / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.001315, allocations: 0 / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.001343, allocations: 1.25 kB / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.009e-05/0.001373, allocations: 3.938 kB / 0.8121 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.232e-05/0.001406, allocations: 0 / 0.8121 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.311e-05/0.001459, allocations: 6.438 kB / 0.8121 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.001504, allocations: 3.984 kB / 0.8121 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.775e-05/0.001531, allocations: 0 / 0.8121 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.001551, allocations: 0 / 0.8121 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.001568, allocations: 3.938 kB / 0.8121 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-06/0.001571, allocations: 0 / 0.8121 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.001582, allocations: 4 kB / 0.8121 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.001602, allocations: 5.5 kB / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.706e-05/0.001659, allocations: 0 / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.001662, allocations: 0 / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.32e-07/0.001663, allocations: 0 / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.001667, allocations: 1.5 kB / 0.8121 GB, free: 1.133 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.0002531/0.00192, allocations: 340.4 kB / 0.8125 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.001962, allocations: 12.03 kB / 0.8125 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.001993, allocations: 0.9375 kB / 0.8125 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.489e-05/0.002068, allocations: 106.2 kB / 0.8126 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.002078, allocations: 4.375 kB / 0.8126 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.002085, allocations: 384 / 0.8126 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.538e-05/0.00215, allocations: 34.2 kB / 0.8126 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.002156, allocations: 1.219 kB / 0.8126 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.002164, allocations: 384 / 0.8126 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.00217, allocations: 0.9062 kB / 0.8126 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.427e-06/0.002179, allocations: 3.938 kB / 0.8126 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.002429, allocations: 474.8 kB / 0.8131 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 9.316e-05/0.002522, allocations: 270.4 kB / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.002552, allocations: 126.9 kB / 0.8134 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.002574, allocations: 119.9 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.002614, allocations: 156.6 kB / 0.8137 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.002614, allocations: 0.5312 kB / 0.8137 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.3e-05/0.002667, allocations: 31.02 kB / 0.8137 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.002722, allocations: 170.6 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.33e-05/0.002815, allocations: 161.9 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.002821, allocations: 26.86 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.002856, allocations: 131.2 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.002858, allocations: 0 / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.002876, allocations: 20.25 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.002984, allocations: 496.1 kB / 0.8147 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.00299, allocations: 0 / 0.8147 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-06/0.002994, allocations: 0.875 kB / 0.8147 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.003022, allocations: 119.2 kB / 0.8148 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-05/0.003045, allocations: 120.2 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.546e-05/0.00308, allocations: 29.7 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.003116, allocations: 123.2 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/0.003145, allocations: 131.9 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.489e-05/0.0032, allocations: 246.4 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.822e-05/0.003228, allocations: 120.1 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.788e-05/0.003276, allocations: 246.5 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.003322, allocations: 123.2 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.003347, allocations: 124.7 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.0001008/0.003448, allocations: 395 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.003492, allocations: 156.8 kB / 0.8166 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.003539, allocations: 153 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.589e-05/0.003595, allocations: 272 kB / 0.817 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.06e-05/0.003655, allocations: 264.1 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-05/0.003714, allocations: 271.2 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.003869, allocations: 0.4921 MB / 0.8179 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/0.003905, allocations: 152.8 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.003939, allocations: 144.9 kB / 0.8182 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-05/0.004002, allocations: 272.1 kB / 0.8185 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003307/0.004332, allocations: 272 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.345e-05/0.004386, allocations: 268 kB / 0.819 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.268e-05/0.004438, allocations: 276 kB / 0.8193 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.00456, allocations: 436 kB / 0.8197 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.004605, allocations: 153.3 kB / 0.8198 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.004664, allocations: 270 kB / 0.8201 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.004715, allocations: 152.8 kB / 0.8202 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.004774, allocations: 272.1 kB / 0.8205 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.004803, allocations: 149.2 kB / 0.8206 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.004842, allocations: 124 kB / 0.8208 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004842, allocations: 0 / 0.8208 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001479/0.004989, allocations: 3.938 kB / 0.8208 GB, free: 7.906 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.0001055/0.005095, allocations: 216.6 kB / 0.821 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.939e-05/0.005134, allocations: 4 kB / 0.821 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.005136, allocations: 0 / 0.821 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.005138, allocations: 0 / 0.821 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.005409, allocations: 0.7047 MB / 0.8217 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.005621, allocations: 208.7 kB / 0.8219 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.943e-05/0.00565, allocations: 55.34 kB / 0.8219 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.635e-06/0.005653, allocations: 0 / 0.8219 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.056e-05/0.005664, allocations: 8.5 kB / 0.8219 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.005664, allocations: 3.938 kB / 0.8219 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of Templates: time 0.001458/0.007122, allocations: 171.8 kB / 0.8221 GB, free: 6.492 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: 4.830015877727419]