Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.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.001085/0.001085, allocations: 84.3 kB / 21.47 MB, free: 3.023 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.001199/0.001199, allocations: 169.5 kB / 24.87 MB, free: 8.746 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.9915/0.9915, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.948/1.948, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.879e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001292/0.001321, allocations: 0.557 MB / 0.8133 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.043e-05/0.001362, allocations: 8.844 kB / 0.8133 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.001383, allocations: 0 / 0.8133 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.001403, allocations: 0.6562 kB / 0.8133 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.501e-05/0.001428, allocations: 0 / 0.8133 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 2.704e-05/0.001455, allocations: 1.25 kB / 0.8133 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.319e-05/0.001498, allocations: 8.75 kB / 0.8134 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.00153, allocations: 0 / 0.8134 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.001555, allocations: 0 / 0.8134 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.808e-05/0.001573, allocations: 5.781 kB / 0.8134 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.00159, allocations: 4 kB / 0.8134 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.001593, allocations: 0 / 0.8134 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.001604, allocations: 0 / 0.8134 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.08e-05/0.001615, allocations: 0 / 0.8134 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 4.659e-05/0.001662, allocations: 4.734 kB / 0.8134 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.001665, allocations: 4 kB / 0.8134 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.71e-07/0.001665, allocations: 0.6875 kB / 0.8134 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.001669, allocations: 0 / 0.8134 GB, free: 0.8242 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.0001933/0.001862, allocations: 341.5 kB / 0.8137 GB, free: 464 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.001897, allocations: 12.03 kB / 0.8137 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.042e-05/0.001918, allocations: 5.562 kB / 0.8137 GB, free: 448 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.563e-05/0.001983, allocations: 108.6 kB / 0.8138 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.001992, allocations: 0.9688 kB / 0.8138 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.001998, allocations: 5.625 kB / 0.8138 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.752e-05/0.002045, allocations: 26.27 kB / 0.8138 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-06/0.00205, allocations: 192 / 0.8138 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-06/0.002055, allocations: 2.594 kB / 0.8138 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.002058, allocations: 384 / 0.8139 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.023e-05/0.002068, allocations: 7.938 kB / 0.8139 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.002304, allocations: 462.8 kB / 0.8143 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/0.002392, allocations: 261.4 kB / 0.8145 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.002427, allocations: 126.9 kB / 0.8147 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.002458, allocations: 123.9 kB / 0.8148 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.002508, allocations: 152.6 kB / 0.8149 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.002509, allocations: 0.6562 kB / 0.8149 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.99e-05/0.002559, allocations: 34.3 kB / 0.815 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.002623, allocations: 170.6 kB / 0.8151 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.173e-05/0.002695, allocations: 166.3 kB / 0.8153 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/0.002701, allocations: 27.14 kB / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.002744, allocations: 127.2 kB / 0.8154 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.82e-07/0.002745, allocations: 0 / 0.8154 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.002769, allocations: 19.38 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.002889, allocations: 497.7 kB / 0.8159 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-06/0.002892, allocations: 0 / 0.8159 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-06/0.002895, allocations: 0 / 0.8159 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.002923, allocations: 119.2 kB / 0.816 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.636e-05/0.00295, allocations: 121 kB / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.618e-05/0.002996, allocations: 33.64 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.003033, allocations: 123.2 kB / 0.8163 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.003066, allocations: 127.2 kB / 0.8164 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.634e-05/0.003133, allocations: 242.3 kB / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.182e-05/0.003164, allocations: 124.3 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-05/0.003229, allocations: 246.5 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.003296, allocations: 123.1 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.003323, allocations: 120.6 kB / 0.8172 GB, free: 12.66 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.0001084/0.003431, allocations: 399 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.003487, allocations: 156.8 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.003534, allocations: 156.4 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.056e-05/0.003594, allocations: 272.5 kB / 0.8182 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.823e-05/0.003653, allocations: 268 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.9e-05/0.003712, allocations: 264.6 kB / 0.8187 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.0039, allocations: 489.3 kB / 0.8192 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/0.003935, allocations: 144.9 kB / 0.8193 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.00397, allocations: 149.7 kB / 0.8194 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.034e-05/0.00403, allocations: 272 kB / 0.8197 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.004092, allocations: 264.1 kB / 0.82 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.017e-05/0.004152, allocations: 272.5 kB / 0.8202 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-05/0.004213, allocations: 269.5 kB / 0.8205 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.00434, allocations: 447.9 kB / 0.8209 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.004383, allocations: 148.9 kB / 0.821 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.004451, allocations: 276 kB / 0.8213 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.00452, allocations: 146.2 kB / 0.8214 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.004585, allocations: 264.1 kB / 0.8217 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.004622, allocations: 161 kB / 0.8218 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.004665, allocations: 120.1 kB / 0.822 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.004665, allocations: 0 / 0.822 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000234/0.004899, allocations: 0.8438 kB / 0.822 GB, free: 7.648 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 9.673e-05/0.004996, allocations: 219.8 kB / 0.8222 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 2.37e-05/0.00502, allocations: 0 / 0.8222 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.005021, allocations: 0 / 0.8222 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.005024, allocations: 4.5 kB / 0.8222 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.00536, allocations: 0.7129 MB / 0.8229 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001546/0.005515, allocations: 204.8 kB / 0.8231 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.005544, allocations: 57.05 kB / 0.8231 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.513e-06/0.005546, allocations: 0 / 0.8231 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.00557, allocations: 66.2 kB / 0.8232 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.00557, allocations: 0 / 0.8232 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of Templates: time 0.001282/0.006853, allocations: 179.8 kB / 0.8234 GB, free: 6.168 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_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.236142740119249]