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.001324/0.001324, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001459/0.001459, allocations: 166.9 kB / 24.87 MB, free: 8.367 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.9354/0.9354, allocations: 177.1 MB / 205.3 MB, free: 4.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.932/1.932, allocations: 377.9 MB / 0.6247 GB, free: 8.887 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 1.704e-06/1.704e-06, allocations: 0 / 0.8128 GB, free: 42.46 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.079e-05, allocations: 5.25 kB / 0.8128 GB, free: 42.46 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001439/0.001459, allocations: 0.5537 MB / 0.8133 GB, free: 42.16 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.346e-05/0.001503, allocations: 1.094 kB / 0.8133 GB, free: 42.16 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.001533, allocations: 0 / 0.8133 GB, free: 42.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.001559, allocations: 0 / 0.8133 GB, free: 42.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.978e-05/0.001588, allocations: 5.094 kB / 0.8133 GB, free: 42.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.312e-05/0.001621, allocations: 4 kB / 0.8133 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.432e-05/0.001676, allocations: 3.688 kB / 0.8133 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.002756, allocations: 3.969 kB / 0.8133 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.002805, allocations: 7.562 kB / 0.8134 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.88e-05/0.002834, allocations: 0.875 kB / 0.8134 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.002851, allocations: 0 / 0.8134 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-06/0.002855, allocations: 1.062 kB / 0.8134 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.002872, allocations: 0.7656 kB / 0.8134 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/0.002887, allocations: 0 / 0.8134 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.577e-05/0.002963, allocations: 6.297 kB / 0.8134 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.002967, allocations: 0 / 0.8134 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.313e-06/0.002969, allocations: 0 / 0.8134 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.002973, allocations: 0 / 0.8134 GB, free: 42.15 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.0002457/0.003219, allocations: 342.9 kB / 0.8137 GB, free: 41.78 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.003261, allocations: 10.84 kB / 0.8137 GB, free: 41.78 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.00329, allocations: 1.812 kB / 0.8137 GB, free: 41.78 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.373e-05/0.003373, allocations: 111.3 kB / 0.8138 GB, free: 41.65 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.003386, allocations: 384 / 0.8138 GB, free: 41.65 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-06/0.003392, allocations: 384 / 0.8138 GB, free: 41.65 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.477e-05/0.003457, allocations: 28.83 kB / 0.8138 GB, free: 41.62 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.003466, allocations: 192 / 0.8138 GB, free: 41.62 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.003472, allocations: 4.312 kB / 0.8138 GB, free: 41.62 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.003478, allocations: 384 / 0.8138 GB, free: 41.62 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.035e-05/0.003488, allocations: 7.578 kB / 0.8138 GB, free: 41.61 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.003688, allocations: 457.7 kB / 0.8143 GB, free: 41.14 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 6.228e-05/0.00375, allocations: 268.2 kB / 0.8145 GB, free: 40.87 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.003768, allocations: 134.3 kB / 0.8147 GB, free: 40.74 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.003782, allocations: 123.2 kB / 0.8148 GB, free: 40.62 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.003807, allocations: 156.5 kB / 0.8149 GB, free: 40.46 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.003808, allocations: 0 / 0.8149 GB, free: 40.46 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 5.782e-05/0.003866, allocations: 31.05 kB / 0.815 GB, free: 40.42 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.003908, allocations: 176.6 kB / 0.8151 GB, free: 40.24 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.612e-05/0.003964, allocations: 151.1 kB / 0.8153 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-06/0.003969, allocations: 25.7 kB / 0.8153 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.003994, allocations: 130.3 kB / 0.8154 GB, free: 39.92 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.42e-07/0.003995, allocations: 0 / 0.8154 GB, free: 39.92 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.004025, allocations: 18.36 kB / 0.8154 GB, free: 39.89 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.004088, allocations: 494.7 kB / 0.8159 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-06/0.004092, allocations: 3.938 kB / 0.8159 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-06/0.004096, allocations: 0 / 0.8159 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.594e-05/0.004112, allocations: 119.2 kB / 0.816 GB, free: 39.28 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/0.004127, allocations: 123 kB / 0.8162 GB, free: 39.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.957e-05/0.004186, allocations: 33.17 kB / 0.8162 GB, free: 39.13 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.004214, allocations: 127.5 kB / 0.8163 GB, free: 39.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.004237, allocations: 123.8 kB / 0.8164 GB, free: 38.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.29e-05/0.00428, allocations: 242.3 kB / 0.8167 GB, free: 38.65 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.222e-05/0.004302, allocations: 122.8 kB / 0.8168 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.764e-05/0.004339, allocations: 247.1 kB / 0.817 GB, free: 38.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.004405, allocations: 129.4 kB / 0.8171 GB, free: 38.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.004429, allocations: 123.1 kB / 0.8172 GB, free: 38.05 MB / 0.7605 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 7.675e-05/0.004506, allocations: 394.1 kB / 0.8176 GB, free: 37.66 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.004544, allocations: 145.7 kB / 0.8178 GB, free: 37.51 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.004577, allocations: 159.5 kB / 0.8179 GB, free: 37.36 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/0.004607, allocations: 275.2 kB / 0.8182 GB, free: 37.08 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.637e-05/0.004634, allocations: 267.5 kB / 0.8184 GB, free: 36.82 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/0.004662, allocations: 269.8 kB / 0.8187 GB, free: 36.55 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.004805, allocations: 478.6 kB / 0.8191 GB, free: 36.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.004823, allocations: 144.9 kB / 0.8193 GB, free: 35.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.00484, allocations: 151.4 kB / 0.8194 GB, free: 35.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.158e-05/0.004872, allocations: 270.3 kB / 0.8197 GB, free: 35.48 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.004901, allocations: 270.6 kB / 0.8199 GB, free: 35.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.843e-05/0.004929, allocations: 271.5 kB / 0.8202 GB, free: 34.94 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.829e-05/0.004957, allocations: 266.9 kB / 0.8205 GB, free: 34.68 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.869e-05/0.005036, allocations: 449.2 kB / 0.8209 GB, free: 34.22 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.005062, allocations: 152.5 kB / 0.821 GB, free: 34.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.005106, allocations: 274.8 kB / 0.8213 GB, free: 33.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/0.005166, allocations: 144.9 kB / 0.8214 GB, free: 33.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.005196, allocations: 273.8 kB / 0.8217 GB, free: 33.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.005215, allocations: 152.1 kB / 0.8218 GB, free: 33.22 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 2.082e-05/0.005236, allocations: 119.2 kB / 0.822 GB, free: 33.11 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.005236, allocations: 0 / 0.822 GB, free: 33.11 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003059/0.005541, allocations: 2.938 kB / 0.822 GB, free: 33.11 MB / 0.7605 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.0001119/0.005653, allocations: 215.6 kB / 0.8222 GB, free: 32.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 4.442e-05/0.005698, allocations: 4.922 kB / 0.8222 GB, free: 32.89 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.0057, allocations: 2.844 kB / 0.8222 GB, free: 32.89 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.005701, allocations: 0 / 0.8222 GB, free: 32.89 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.006021, allocations: 0.702 MB / 0.8229 GB, free: 32.19 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.006224, allocations: 211.3 kB / 0.8231 GB, free: 31.97 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.075e-05/0.006255, allocations: 56.92 kB / 0.8231 GB, free: 31.89 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.595e-06/0.006257, allocations: 0 / 0.8231 GB, free: 31.89 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.006286, allocations: 66.2 kB / 0.8232 GB, free: 31.83 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.006287, allocations: 0.9844 kB / 0.8232 GB, free: 31.83 MB / 0.7605 GB Notification: Performance of Templates: time 0.00168/0.007966, allocations: 177.2 kB / 0.8233 GB, free: 31.8 MB / 0.7605 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.277136503718793]