Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.0009865/0.0009865, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009556/0.0009556, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9235/0.9235, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.915/1.915, allocations: 377.9 MB / 0.6239 GB, free: 8.414 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.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 4 kB / 0.8121 GB, free: 236 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.238e-05, allocations: 2.312 kB / 0.8121 GB, free: 232 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001194/0.001217, allocations: 0.7076 MB / 0.8128 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.002259, allocations: 0.847 MB / 0.8136 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.0023, allocations: 0.625 kB / 0.8136 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.002327, allocations: 5.344 kB / 0.8136 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/0.002405, allocations: 7.922 kB / 0.8136 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 9.035e-05/0.002496, allocations: 19.97 kB / 0.8136 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.42e-05/0.00256, allocations: 44.64 kB / 0.8137 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.002644, allocations: 11.98 kB / 0.8137 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.002725, allocations: 24.61 kB / 0.8137 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.002763, allocations: 11.98 kB / 0.8137 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.00278, allocations: 4.906 kB / 0.8137 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.002789, allocations: 4 kB / 0.8137 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.002807, allocations: 11.98 kB / 0.8137 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.002828, allocations: 12.58 kB / 0.8137 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.712e-05/0.002905, allocations: 32.78 kB / 0.8138 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002907, allocations: 0 / 0.8138 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002907, allocations: 0 / 0.8138 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.002911, allocations: 1.219 kB / 0.8138 GB, free: 14.49 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003052/0.003216, allocations: 372.6 kB / 0.8141 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.003249, allocations: 13.41 kB / 0.8141 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.003275, allocations: 12.89 kB / 0.8142 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.492e-05/0.00336, allocations: 116.5 kB / 0.8143 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.00337, allocations: 384 / 0.8143 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.003378, allocations: 5.906 kB / 0.8143 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.003483, allocations: 66.88 kB / 0.8143 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.003489, allocations: 192 / 0.8143 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.003495, allocations: 384 / 0.8143 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.0035, allocations: 1.75 kB / 0.8143 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.003519, allocations: 7.938 kB / 0.8143 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.003725, allocations: 244.4 kB / 0.8146 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.066e-05/0.003775, allocations: 39.58 kB / 0.8146 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.003792, allocations: 16.88 kB / 0.8146 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.003807, allocations: 0 / 0.8146 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.003824, allocations: 33.39 kB / 0.8147 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.003825, allocations: 0.625 kB / 0.8147 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001124/0.003937, allocations: 47.88 kB / 0.8147 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.003961, allocations: 55.41 kB / 0.8148 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.004023, allocations: 173.8 kB / 0.8149 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.004032, allocations: 25.7 kB / 0.815 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.004071, allocations: 134.8 kB / 0.8151 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.004087, allocations: 7.953 kB / 0.8151 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.004112, allocations: 23.89 kB / 0.8151 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.004209, allocations: 0.4891 MB / 0.8156 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-06/0.004218, allocations: 0 / 0.8156 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.00423, allocations: 9.359 kB / 0.8156 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.004259, allocations: 15.67 kB / 0.8156 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.00426, allocations: 0 / 0.8156 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.794e-05/0.004308, allocations: 41.7 kB / 0.8157 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.004318, allocations: 4.625 kB / 0.8157 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.004321, allocations: 5.031 kB / 0.8157 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.004333, allocations: 7.922 kB / 0.8157 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.004398, allocations: 8 kB / 0.8157 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.004404, allocations: 8.75 kB / 0.8157 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.004426, allocations: 11.94 kB / 0.8157 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.004431, allocations: 0.7188 kB / 0.8157 GB, free: 12.33 MB / 0.7292 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 (3): * Single equations (assignments): 3 * 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 5.216e-05/0.004483, allocations: 157.8 kB / 0.8158 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.004496, allocations: 4 kB / 0.8159 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.334e-05/0.004569, allocations: 49.67 kB / 0.8159 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.004571, allocations: 5.812 kB / 0.8159 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.004572, allocations: 0 / 0.8159 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.004574, allocations: 4 kB / 0.8159 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.003e-05/0.004654, allocations: 101.2 kB / 0.816 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004655, allocations: 0 / 0.816 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.004682, allocations: 16.86 kB / 0.816 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.004683, allocations: 0 / 0.816 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.004687, allocations: 0 / 0.816 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004687, allocations: 1.344 kB / 0.816 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.004688, allocations: 4 kB / 0.816 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.019e-05/0.004768, allocations: 199.8 kB / 0.8162 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-06/0.004773, allocations: 0.9688 kB / 0.8162 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.00478, allocations: 3.984 kB / 0.8162 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.551e-05/0.004816, allocations: 6.312 kB / 0.8162 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.004842, allocations: 11.92 kB / 0.8162 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.004845, allocations: 0 / 0.8162 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.932e-05/0.004874, allocations: 127.5 kB / 0.8164 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.004874, allocations: 0 / 0.8164 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001322/0.005006, allocations: 8 kB / 0.8164 GB, free: 11.59 MB / 0.7292 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 (3): * Single equations (assignments): 3 * 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 6.687e-05/0.005073, allocations: 102.6 kB / 0.8165 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.722e-05/0.00513, allocations: 15.69 kB / 0.8165 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005132, allocations: 0 / 0.8165 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.00515, allocations: 20 kB / 0.8165 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.005323, allocations: 11.94 kB / 0.8165 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.00552, allocations: 130.9 kB / 0.8166 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.835e-05/0.005548, allocations: 59.34 kB / 0.8167 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.005566, allocations: 5 kB / 0.8167 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.005614, allocations: 74.77 kB / 0.8168 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.005615, allocations: 0 / 0.8168 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.001983/0.007598, allocations: 0.8047 MB / 0.8176 GB, free: 10.35 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.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.964598821010441]