Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001149/0.001149, allocations: 80.39 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.001725/0.001725, allocations: 171.1 kB / 24.87 MB, free: 9.258 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.935/1.935, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.205e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001535/0.001557, allocations: 0.6093 MB / 0.8134 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.385e-05/0.001601, allocations: 0 / 0.8134 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.001628, allocations: 0.7812 kB / 0.8134 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.001653, allocations: 0 / 0.8134 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.022e-05/0.001684, allocations: 0 / 0.8134 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 2.965e-05/0.001713, allocations: 1.688 kB / 0.8134 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.135e-05/0.001765, allocations: 7.938 kB / 0.8134 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.001805, allocations: 0 / 0.8134 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.001833, allocations: 7.984 kB / 0.8134 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.89e-05/0.001852, allocations: 1.531 kB / 0.8134 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.001865, allocations: 0 / 0.8134 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-06/0.001868, allocations: 0 / 0.8134 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.00188, allocations: 0 / 0.8134 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.112e-05/0.001892, allocations: 5.594 kB / 0.8134 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.083e-05/0.001942, allocations: 3.984 kB / 0.8134 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.001944, allocations: 0 / 0.8134 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.82e-07/0.001945, allocations: 0 / 0.8134 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.001949, allocations: 0 / 0.8134 GB, free: 0.7852 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.0002387/0.002187, allocations: 337 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.002219, allocations: 9.688 kB / 0.8138 GB, free: 420 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.002241, allocations: 12.88 kB / 0.8138 GB, free: 408 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.502e-05/0.002316, allocations: 108.6 kB / 0.8139 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.002327, allocations: 384 / 0.8139 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.002335, allocations: 1.031 kB / 0.8139 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.443e-05/0.002389, allocations: 34.27 kB / 0.8139 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.002396, allocations: 1.125 kB / 0.8139 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.002402, allocations: 384 / 0.8139 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.002407, allocations: 1.531 kB / 0.8139 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.164e-06/0.002414, allocations: 7.875 kB / 0.8139 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.002647, allocations: 458.8 kB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.783e-05/0.002735, allocations: 266.8 kB / 0.8146 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.00277, allocations: 126.9 kB / 0.8147 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.0028, allocations: 119.2 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.002853, allocations: 162.3 kB / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.002854, allocations: 0 / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.69e-05/0.002901, allocations: 33.58 kB / 0.815 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.002954, allocations: 170.6 kB / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.003019, allocations: 159.1 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.003025, allocations: 25.7 kB / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.003059, allocations: 126.9 kB / 0.8155 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.91e-07/0.00306, allocations: 1.75 kB / 0.8155 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.003077, allocations: 19.36 kB / 0.8155 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.003179, allocations: 496.1 kB / 0.816 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-06/0.003181, allocations: 0 / 0.816 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-06/0.003185, allocations: 0 / 0.816 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.003211, allocations: 119.7 kB / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.512e-05/0.003237, allocations: 119.2 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.038e-05/0.003277, allocations: 34.55 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.003312, allocations: 127.6 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.003338, allocations: 119.2 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-05/0.003398, allocations: 246.3 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.502e-05/0.003423, allocations: 123.1 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.085e-05/0.003473, allocations: 250.5 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.003522, allocations: 125.7 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.003548, allocations: 123.2 kB / 0.8173 GB, free: 12.62 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 9.762e-05/0.003646, allocations: 391 kB / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.003693, allocations: 156.8 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.003734, allocations: 147.9 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003009/0.004035, allocations: 272 kB / 0.8182 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.94e-05/0.004095, allocations: 272.7 kB / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-05/0.004152, allocations: 268.1 kB / 0.8188 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.004308, allocations: 489.6 kB / 0.8192 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/0.004339, allocations: 148.9 kB / 0.8194 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.004371, allocations: 144.9 kB / 0.8195 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-05/0.004426, allocations: 272.8 kB / 0.8198 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.004484, allocations: 268.1 kB / 0.82 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-05/0.004545, allocations: 268.5 kB / 0.8203 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.898e-05/0.004604, allocations: 268.9 kB / 0.8205 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.004729, allocations: 459.8 kB / 0.821 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.004768, allocations: 147 kB / 0.8211 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.567e-05/0.004834, allocations: 268 kB / 0.8214 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.004889, allocations: 152.9 kB / 0.8215 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.004949, allocations: 264.1 kB / 0.8218 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.453e-05/0.004984, allocations: 153.1 kB / 0.8219 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.00502, allocations: 127.8 kB / 0.822 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00502, allocations: 0 / 0.822 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001528/0.005173, allocations: 2.531 kB / 0.822 GB, free: 7.602 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.0001075/0.00528, allocations: 214.4 kB / 0.8222 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.6e-05/0.005316, allocations: 0 / 0.8222 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.005318, allocations: 0 / 0.8222 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.00532, allocations: 3.938 kB / 0.8223 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.005595, allocations: 0.7073 MB / 0.8229 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000162/0.005757, allocations: 200.8 kB / 0.8231 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.833e-05/0.005785, allocations: 60.33 kB / 0.8232 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.714e-06/0.005787, allocations: 0 / 0.8232 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.005811, allocations: 66.2 kB / 0.8233 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.005812, allocations: 1.125 kB / 0.8233 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of Templates: time 0.001282/0.007093, allocations: 179.6 kB / 0.8234 GB, free: 6.125 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_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.302826175000519]