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.001533/0.001533, 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.001911/0.001911, 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 1.011/1.011, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.992/1.992, allocations: 377.8 MB / 0.6236 GB, free: 8.516 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.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 1.583e-06/1.583e-06, allocations: 0 / 0.8116 GB, free: 1.609 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.358e-05, allocations: 5.203 kB / 0.8116 GB, free: 1.605 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001135/0.001148, allocations: 0.714 MB / 0.8123 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007691/0.001917, allocations: 0.8483 MB / 0.8131 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.001946, allocations: 0 / 0.8131 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.001971, allocations: 3.938 kB / 0.8131 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.192e-05/0.002023, allocations: 5.156 kB / 0.8131 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.691e-05/0.0021, allocations: 15.97 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.328e-05/0.002173, allocations: 44.48 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.202e-05/0.002245, allocations: 8 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.002317, allocations: 33.3 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.306e-05/0.00235, allocations: 15.92 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.002366, allocations: 4 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.002375, allocations: 4 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.00239, allocations: 12.95 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.002409, allocations: 8 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 6.85e-05/0.002477, allocations: 31.84 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.00248, allocations: 4.688 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002481, allocations: 0.9062 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.002484, allocations: 0 / 0.8133 GB, free: 15.87 MB / 0.7761 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.0003076/0.002791, allocations: 369.2 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.002822, allocations: 12.03 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.00285, allocations: 9.766 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.35e-05/0.002923, allocations: 120.5 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.002933, allocations: 9.625 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.002943, allocations: 384 / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.003062, allocations: 70.88 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.003072, allocations: 2 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.003079, allocations: 384 / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.003085, allocations: 384 / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.152e-05/0.003117, allocations: 11.94 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.003368, allocations: 255.9 kB / 0.8141 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.003434, allocations: 36.2 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.003458, allocations: 19.62 kB / 0.8142 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.003476, allocations: 1.531 kB / 0.8142 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.003496, allocations: 37.39 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.003497, allocations: 0 / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001321/0.003629, allocations: 49.72 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.003654, allocations: 52.34 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.003719, allocations: 165.9 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.003728, allocations: 26.48 kB / 0.8145 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.003772, allocations: 142.8 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.003787, allocations: 3.953 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.003815, allocations: 24 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.003915, allocations: 492.8 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.003932, allocations: 7.938 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.003946, allocations: 9.203 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.939e-05/0.003975, allocations: 15.69 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003977, allocations: 0 / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.7e-05/0.004034, allocations: 50.45 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.004045, allocations: 7.938 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.004049, allocations: 5.203 kB / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.004062, allocations: 3.984 kB / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.004132, allocations: 8 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.004137, allocations: 8.953 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.004159, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.004165, allocations: 1.312 kB / 0.8153 GB, free: 13.68 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 (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.983e-05/0.004224, allocations: 152.6 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.004239, allocations: 5.812 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-05/0.004325, allocations: 57.61 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.004327, allocations: 4 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.00433, allocations: 0 / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.004332, allocations: 0 / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.766e-05/0.00442, allocations: 122.6 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.02e-07/0.004421, allocations: 0 / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.00445, allocations: 11.98 kB / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.004452, allocations: 4 kB / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.004458, allocations: 0 / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.004459, allocations: 4.594 kB / 0.8156 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.00446, allocations: 3.938 kB / 0.8156 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.849e-05/0.004548, allocations: 195.3 kB / 0.8158 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-06/0.004554, allocations: 4 kB / 0.8158 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.004562, allocations: 0 / 0.8158 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.921e-05/0.004601, allocations: 11.92 kB / 0.8158 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.004634, allocations: 8 kB / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.004638, allocations: 4 kB / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.004672, allocations: 131.2 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004672, allocations: 0 / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001398/0.004812, allocations: 12 kB / 0.816 GB, free: 12.89 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 (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.032e-05/0.004873, allocations: 92.34 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.522e-05/0.004948, allocations: 25.05 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.004949, allocations: 0 / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.00497, allocations: 15.69 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.005143, allocations: 12.58 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.005362, allocations: 128.9 kB / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.005393, allocations: 63.28 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.513e-05/0.005408, allocations: 3.938 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.005433, allocations: 12.5 kB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.005434, allocations: 0.8125 kB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.001997/0.007431, allocations: 0.7356 MB / 0.817 GB, free: 11.78 MB / 0.7761 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: 5.482931884936988]