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.001928/0.001928, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002373/0.002373, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.612/1.612, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.869/2.869, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] 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 1.924e-06/1.924e-06, allocations: 0 / 0.8109 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.908e-05, allocations: 3.078 kB / 0.8109 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001903/0.001932, allocations: 0.7378 MB / 0.8116 GB, free: 152 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.003272, allocations: 0.8618 MB / 0.8124 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.003319, allocations: 0.5938 kB / 0.8124 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.003357, allocations: 9 kB / 0.8125 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.989e-05/0.003457, allocations: 15.84 kB / 0.8125 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.00362, allocations: 29.03 kB / 0.8125 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.003742, allocations: 67.83 kB / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003851, allocations: 15.98 kB / 0.8126 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.003962, allocations: 41.47 kB / 0.8126 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.165e-05/0.004043, allocations: 39.88 kB / 0.8127 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.004073, allocations: 8 kB / 0.8127 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.004086, allocations: 4 kB / 0.8127 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.004111, allocations: 16.64 kB / 0.8127 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.004159, allocations: 15.92 kB / 0.8127 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.004308, allocations: 88.83 kB / 0.8128 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00431, allocations: 0 / 0.8128 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00431, allocations: 0 / 0.8128 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.004314, allocations: 1.312 kB / 0.8128 GB, free: 14.94 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000623/0.004937, allocations: 302 kB / 0.8131 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.004975, allocations: 9.938 kB / 0.8131 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.00503, allocations: 12.89 kB / 0.8131 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.005196, allocations: 121.7 kB / 0.8132 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.005215, allocations: 4.375 kB / 0.8132 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.005232, allocations: 12.31 kB / 0.8132 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.005483, allocations: 87.42 kB / 0.8133 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.005492, allocations: 192 / 0.8133 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.005506, allocations: 4.359 kB / 0.8133 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.005511, allocations: 1.969 kB / 0.8133 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.005768, allocations: 67.89 kB / 0.8134 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.006251, allocations: 250.6 kB / 0.8136 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.006525, allocations: 86.47 kB / 0.8137 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.006662, allocations: 36.92 kB / 0.8137 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.006685, allocations: 7.922 kB / 0.8137 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.006723, allocations: 39.09 kB / 0.8138 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.006724, allocations: 0.7188 kB / 0.8138 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005338/0.007258, allocations: 135.7 kB / 0.8139 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.00731, allocations: 63.34 kB / 0.814 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.00743, allocations: 117.8 kB / 0.8141 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.007453, allocations: 25.7 kB / 0.8141 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.007531, allocations: 104.6 kB / 0.8142 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.007557, allocations: 17.11 kB / 0.8142 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.007607, allocations: 21.7 kB / 0.8142 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.007781, allocations: 318.8 kB / 0.8145 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.007906, allocations: 33.12 kB / 0.8146 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.008028, allocations: 32.22 kB / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.008267, allocations: 70.31 kB / 0.8147 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.008269, allocations: 0 / 0.8147 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003145/0.008584, allocations: 115 kB / 0.8148 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.008599, allocations: 4 kB / 0.8148 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.008605, allocations: 0 / 0.8148 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.008624, allocations: 1.031 kB / 0.8148 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.008768, allocations: 15.98 kB / 0.8148 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.008772, allocations: 0.8438 kB / 0.8148 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.008858, allocations: 11.98 kB / 0.8148 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.00887, allocations: 5.531 kB / 0.8148 GB, free: 12.69 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 (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 0.000112/0.008982, allocations: 113.8 kB / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.009019, allocations: 11.89 kB / 0.8149 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.00905, allocations: 13.42 kB / 0.815 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.009052, allocations: 0 / 0.815 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.009057, allocations: 0 / 0.815 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.00906, allocations: 2.062 kB / 0.815 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.009247, allocations: 129.2 kB / 0.8151 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.009253, allocations: 3.984 kB / 0.8151 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.009376, allocations: 19.98 kB / 0.8151 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.00938, allocations: 7.875 kB / 0.8151 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.00939, allocations: 2.281 kB / 0.8151 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.009394, allocations: 7.984 kB / 0.8151 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009394, allocations: 0 / 0.8151 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.009778, allocations: 199.6 kB / 0.8153 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.009795, allocations: 7.938 kB / 0.8153 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.009818, allocations: 12.44 kB / 0.8153 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.009944, allocations: 4.531 kB / 0.8153 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.01002, allocations: 21.91 kB / 0.8154 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.01003, allocations: 0 / 0.8154 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.601e-05/0.0101, allocations: 99.2 kB / 0.8154 GB, free: 12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.0101, allocations: 0 / 0.8154 GB, free: 12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002315/0.01034, allocations: 8 kB / 0.8155 GB, free: 11.99 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 (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.0001366/0.01047, allocations: 105.2 kB / 0.8156 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.01077, allocations: 68.62 kB / 0.8156 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01078, allocations: 0.6562 kB / 0.8156 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.01093, allocations: 40.62 kB / 0.8157 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.01123, allocations: 15.36 kB / 0.8157 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.0117, allocations: 180.2 kB / 0.8158 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.901e-05/0.01179, allocations: 71.58 kB / 0.8159 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.083e-05/0.01184, allocations: 6.25 kB / 0.8159 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.01191, allocations: 20.48 kB / 0.8159 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.01191, allocations: 0 / 0.8159 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.004488/0.01639, allocations: 1.351 MB / 0.8173 GB, free: 10.13 MB / 0.7292 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.995179361081682]