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.0009833/0.0009833, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001136/0.001136, allocations: 167.8 kB / 24.87 MB, free: 8.82 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.965/0.965, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.933/1.933, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.938e-06/3.938e-06, allocations: 0 / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.807e-05, allocations: 7.156 kB / 0.8128 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002167/0.002206, allocations: 0.7591 MB / 0.8136 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003484, allocations: 0.8795 MB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.00354, allocations: 0 / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.003581, allocations: 12.39 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.003683, allocations: 8.688 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.00384, allocations: 35.89 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003944, allocations: 73.42 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.004055, allocations: 11.98 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.004162, allocations: 47.89 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.004232, allocations: 27.91 kB / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.004256, allocations: 9.031 kB / 0.8147 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.004269, allocations: 8 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.004295, allocations: 15.91 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.004322, allocations: 16.77 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.004434, allocations: 59.73 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004436, allocations: 1.688 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004437, allocations: 0 / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.004441, allocations: 0 / 0.8148 GB, free: 15.43 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.0004344/0.004875, allocations: 396.4 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.004913, allocations: 9.562 kB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.00495, allocations: 8.891 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.005059, allocations: 128.5 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.00508, allocations: 4.375 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.005093, allocations: 5.531 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.005264, allocations: 78.84 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005272, allocations: 1.562 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.005285, allocations: 8.359 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.005291, allocations: 4.375 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.005348, allocations: 21.67 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.005822, allocations: 280.2 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.005941, allocations: 54.97 kB / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.005976, allocations: 20.97 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.005989, allocations: 0 / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.006014, allocations: 41.33 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.006015, allocations: 1.781 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001934/0.006208, allocations: 69.56 kB / 0.8158 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.006239, allocations: 51.41 kB / 0.8159 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.006332, allocations: 189.9 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.006347, allocations: 28.3 kB / 0.8161 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.006406, allocations: 138.8 kB / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.006444, allocations: 23.77 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.006487, allocations: 23.38 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.006631, allocations: 0.4923 MB / 0.8168 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.00666, allocations: 4 kB / 0.8168 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.006687, allocations: 12.7 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.284e-05/0.00675, allocations: 24.22 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006752, allocations: 0 / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001195/0.006871, allocations: 63.27 kB / 0.8169 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.006886, allocations: 7.938 kB / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.006891, allocations: 4.438 kB / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.0069, allocations: 0 / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.007004, allocations: 16.64 kB / 0.8169 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.007007, allocations: 1 kB / 0.8169 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.007052, allocations: 11.95 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.007059, allocations: 0 / 0.8169 GB, free: 13.05 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 7.992e-05/0.007139, allocations: 161.7 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.007172, allocations: 11.94 kB / 0.8171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.007199, allocations: 9.219 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007201, allocations: 0 / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.007204, allocations: 4.562 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.007207, allocations: 0 / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.007363, allocations: 118 kB / 0.8172 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007364, allocations: 0 / 0.8172 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.007429, allocations: 17.92 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007431, allocations: 0 / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.007437, allocations: 0 / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.00744, allocations: 11.92 kB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007441, allocations: 0 / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.007612, allocations: 204.5 kB / 0.8174 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.007624, allocations: 3.953 kB / 0.8174 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.007639, allocations: 10.45 kB / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.68e-05/0.007716, allocations: 11.88 kB / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.007768, allocations: 11.98 kB / 0.8175 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.007775, allocations: 0 / 0.8175 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.007826, allocations: 135.6 kB / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007826, allocations: 0 / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002548/0.008081, allocations: 13.81 kB / 0.8176 GB, free: 12.29 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.0001031/0.008184, allocations: 103.1 kB / 0.8177 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.008301, allocations: 35.67 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.008302, allocations: 0.5312 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.008354, allocations: 28.22 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.008619, allocations: 30.33 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.008956, allocations: 162 kB / 0.8179 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.008997, allocations: 59.34 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.852e-05/0.009046, allocations: 6.719 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.009131, allocations: 81.88 kB / 0.8181 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.009132, allocations: 0 / 0.8181 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of Templates: time 0.003907/0.01304, allocations: 1.478 MB / 0.8195 GB, free: 10.29 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.264083006884903]