Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.000995/0.000995, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001056/0.001056, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9593/0.9593, allocations: 177.1 MB / 204.2 MB, free: 5.605 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 2.016/2.016, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.514e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.005522/0.005557, allocations: 0.7821 MB / 0.8124 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004333/0.00989, allocations: 0.881 MB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.009953, allocations: 0 / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.735e-05/0.01, allocations: 7.875 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.01013, allocations: 7.938 kB / 0.8133 GB, free: 16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.01034, allocations: 35.83 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.01047, allocations: 67.84 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.01061, allocations: 21.44 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.01074, allocations: 35.91 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.01082, allocations: 39.88 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.01085, allocations: 8 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.01086, allocations: 4.531 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.01089, allocations: 20.98 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.01093, allocations: 15.98 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.01107, allocations: 59.73 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.01107, allocations: 0.625 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.233e-06/0.01107, allocations: 0 / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.01108, allocations: 0.5312 kB / 0.8135 GB, free: 15.7 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005318/0.01161, allocations: 385.8 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.01166, allocations: 12.03 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.01171, allocations: 8.891 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.01185, allocations: 133.6 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.01187, allocations: 4.375 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.01189, allocations: 4.375 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.01211, allocations: 79.8 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.01212, allocations: 192 / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.01213, allocations: 5.281 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.01214, allocations: 384 / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.268e-05/0.01224, allocations: 32.94 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.01579, allocations: 301 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.01597, allocations: 59.03 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.01603, allocations: 19.78 kB / 0.8145 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.01605, allocations: 7.031 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.01608, allocations: 37.39 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.01608, allocations: 0 / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.000287/0.01637, allocations: 77.56 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.0164, allocations: 51.41 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.01653, allocations: 186 kB / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.01655, allocations: 25.7 kB / 0.8149 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.01661, allocations: 147.3 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.01664, allocations: 15.8 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.01669, allocations: 29.31 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.01685, allocations: 0.4884 MB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.594e-05/0.0169, allocations: 11.98 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.01693, allocations: 8 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.484e-05/0.01701, allocations: 37.64 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01702, allocations: 0 / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001511/0.01717, allocations: 69.56 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.01719, allocations: 4 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01719, allocations: 1 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.01721, allocations: 0 / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.01735, allocations: 16.52 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01736, allocations: 0.8438 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.01741, allocations: 7.953 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.01742, allocations: 0 / 0.8157 GB, free: 13.27 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 (6): * Single equations (assignments): 6 * 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.295e-05/0.01751, allocations: 165.4 kB / 0.8159 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.01755, allocations: 9.219 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.01759, allocations: 8.438 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01759, allocations: 0 / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.01759, allocations: 0 / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.0176, allocations: 0.8438 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.01777, allocations: 144.5 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01777, allocations: 0.9375 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.065e-05/0.01786, allocations: 19.92 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.01787, allocations: 5.438 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01788, allocations: 4 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01788, allocations: 0 / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01788, allocations: 0 / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.0181, allocations: 209.2 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.01812, allocations: 7.953 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.01813, allocations: 3.938 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.01823, allocations: 17.09 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003103/0.02134, allocations: 15.97 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.02135, allocations: 0 / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.713e-05/0.02142, allocations: 136.3 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02142, allocations: 3.938 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002694/0.02169, allocations: 12 kB / 0.8165 GB, free: 12.47 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 (6): * Single equations (assignments): 6 * 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.0001357/0.02183, allocations: 96.34 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.022, allocations: 44.16 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.022, allocations: 5.156 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.655e-05/0.02208, allocations: 27.61 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.02241, allocations: 17.75 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.02289, allocations: 167.4 kB / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.656e-05/0.02294, allocations: 55.36 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.233e-05/0.02299, allocations: 9.734 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.02305, allocations: 23.03 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of SimCode: time 1.032e-06/0.02305, allocations: 0 / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.0104/0.03345, allocations: 1.357 MB / 0.8182 GB, free: 10.65 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.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.45383532717824]