Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 192.6 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.666/1.666, allocations: 251.6 MB / 0.5088 GB, free: 3.285 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.91 kB / 0.6216 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7555/0.7576, allocations: 104.7 MB / 0.7238 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.003606/0.7612, allocations: 1.488 MB / 0.7253 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005166/0.7618, allocations: 192.3 kB / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.7618, allocations: 0 / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.445e-05/0.7619, allocations: 0 / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.762, allocations: 7.938 kB / 0.7255 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.7623, allocations: 15.92 kB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.205e-05/0.7623, allocations: 39.86 kB / 0.7255 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.7625, allocations: 11.98 kB / 0.7255 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.7626, allocations: 19.92 kB / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.7627, allocations: 19.91 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.7627, allocations: 4 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.7627, allocations: 4 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.7628, allocations: 8 kB / 0.7256 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.7628, allocations: 19.86 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.7629, allocations: 31.88 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.7629, allocations: 4 kB / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.763, allocations: 0 / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.763, allocations: 0 / 0.7256 GB, free: 11.38 MB / 0.545 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.0006269/0.7636, allocations: 369.4 kB / 0.726 GB, free: 10.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.7636, allocations: 8.031 kB / 0.726 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.7637, allocations: 4.938 kB / 0.726 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.7639, allocations: 176.2 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.7639, allocations: 4.375 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.7639, allocations: 4.375 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.7642, allocations: 70.16 kB / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7642, allocations: 192 / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.7642, allocations: 3.938 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.7643, allocations: 0 / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.7646, allocations: 71.91 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.765, allocations: 261 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.7652, allocations: 66.41 kB / 0.7266 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.7654, allocations: 36.92 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.7654, allocations: 0 / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.7655, allocations: 34.55 kB / 0.7267 GB, free: 10.13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.7655, allocations: 4 kB / 0.7267 GB, free: 10.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005822/0.7661, allocations: 137.4 kB / 0.7268 GB, free: 9.988 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.7661, allocations: 51.41 kB / 0.7269 GB, free: 9.926 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.7662, allocations: 105.8 kB / 0.727 GB, free: 9.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.7663, allocations: 25.7 kB / 0.727 GB, free: 9.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.7663, allocations: 96.06 kB / 0.7271 GB, free: 9.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.7664, allocations: 7.844 kB / 0.7271 GB, free: 9.676 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.7664, allocations: 17.72 kB / 0.7271 GB, free: 9.652 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7665, allocations: 314.8 kB / 0.7274 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.7667, allocations: 35.95 kB / 0.7275 GB, free: 9.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.7668, allocations: 27.97 kB / 0.7275 GB, free: 9.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.7671, allocations: 72.78 kB / 0.7276 GB, free: 9.199 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7671, allocations: 3.938 kB / 0.7276 GB, free: 9.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003085/0.7674, allocations: 101.5 kB / 0.7277 GB, free: 9.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.7674, allocations: 4 kB / 0.7277 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7674, allocations: 0 / 0.7277 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.7675, allocations: 4 kB / 0.7277 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.7676, allocations: 19.97 kB / 0.7277 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.7676, allocations: 0 / 0.7277 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.7677, allocations: 11.98 kB / 0.7277 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.7677, allocations: 0 / 0.7277 GB, free: 9.051 MB / 0.545 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 9.142e-05/0.7678, allocations: 113.8 kB / 0.7278 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.7678, allocations: 4 kB / 0.7278 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.7679, allocations: 7.906 kB / 0.7278 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.7679, allocations: 7.984 kB / 0.7278 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7679, allocations: 4 kB / 0.7278 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.7679, allocations: 0 / 0.7278 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.7681, allocations: 169.5 kB / 0.728 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7681, allocations: 4 kB / 0.728 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.313e-05/0.7682, allocations: 11.98 kB / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7682, allocations: 0 / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.7682, allocations: 8 kB / 0.728 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.7682, allocations: 7.922 kB / 0.728 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7682, allocations: 4 kB / 0.728 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.7686, allocations: 191.7 kB / 0.7282 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.7686, allocations: 77.11 kB / 0.7283 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.7687, allocations: 4 kB / 0.7283 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.7688, allocations: 19.97 kB / 0.7283 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.7688, allocations: 8.031 kB / 0.7283 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-06/0.7688, allocations: 0 / 0.7283 GB, free: 8.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.7689, allocations: 91.27 kB / 0.7284 GB, free: 8.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7689, allocations: 3.938 kB / 0.7284 GB, free: 8.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000213/0.7691, allocations: 7.906 kB / 0.7284 GB, free: 8.219 MB / 0.545 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 0.0001892/0.7693, allocations: 102.2 kB / 0.7285 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.7696, allocations: 75.86 kB / 0.7286 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7697, allocations: 0 / 0.7286 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.7698, allocations: 35.95 kB / 0.7286 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.7702, allocations: 11.94 kB / 0.7286 GB, free: 7.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.7705, allocations: 131.2 kB / 0.7288 GB, free: 7.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.7709, allocations: 0.6809 MB / 0.7294 GB, free: 7.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.601e-05/0.7709, allocations: 4 kB / 0.7294 GB, free: 7.129 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.7709, allocations: 7.438 kB / 0.7294 GB, free: 7.121 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.7709, allocations: 0 / 0.7294 GB, free: 7.121 MB / 0.545 GB Notification: Performance of Templates: time 0.003004/0.774, allocations: 0.593 MB / 0.73 GB, free: 6.531 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)