Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009864/0.0009867, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009588/0.0009589, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 16 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.661, allocations: 142.3 MB / 0.9535 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.0007503/0.6618, allocations: 372.9 kB / 0.9539 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001434/0.662, allocations: 11.11 kB / 0.9539 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.662, allocations: 0 / 0.9539 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.433e-05/0.6621, allocations: 9.562 kB / 0.9539 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.202e-05/0.6622, allocations: 0 / 0.9539 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.884e-05/0.6622, allocations: 5.625 kB / 0.9539 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.6624, allocations: 30.72 kB / 0.9539 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.6625, allocations: 20.89 kB / 0.954 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.6625, allocations: 11.02 kB / 0.954 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.823e-05/0.6625, allocations: 13.31 kB / 0.954 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.6626, allocations: 5.016 kB / 0.954 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.6626, allocations: 1.031 kB / 0.954 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.6626, allocations: 3.062 kB / 0.954 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.6626, allocations: 36.08 kB / 0.954 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.967e-05/0.6627, allocations: 30.78 kB / 0.9541 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.6627, allocations: 0 / 0.9541 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6627, allocations: 0 / 0.9541 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.6627, allocations: 0 / 0.9541 GB, free: 7.652 MB / 0.7169 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.0002495/0.663, allocations: 343.8 kB / 0.9544 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.663, allocations: 12.91 kB / 0.9544 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.663, allocations: 10.73 kB / 0.9544 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.6632, allocations: 179.8 kB / 0.9546 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.6632, allocations: 5.328 kB / 0.9546 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.6632, allocations: 3.5 kB / 0.9546 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.6634, allocations: 86.22 kB / 0.9547 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.6634, allocations: 0 / 0.9547 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.6634, allocations: 1.062 kB / 0.9547 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6634, allocations: 0.875 kB / 0.9547 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.6635, allocations: 56.3 kB / 0.9547 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.6639, allocations: 488.5 kB / 0.9552 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.6639, allocations: 170 kB / 0.9554 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.6639, allocations: 80.86 kB / 0.9554 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.664, allocations: 109.8 kB / 0.9555 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.664, allocations: 0 / 0.9555 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.2e-05/0.664, allocations: 33.64 kB / 0.9556 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.6641, allocations: 126.7 kB / 0.9557 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.6642, allocations: 168.6 kB / 0.9559 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-06/0.6642, allocations: 27.11 kB / 0.9559 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.6643, allocations: 98.88 kB / 0.956 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.6643, allocations: 0 / 0.956 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.6643, allocations: 5.5 kB / 0.956 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.04e-05/0.6643, allocations: 316.4 kB / 0.9563 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.6644, allocations: 8.109 kB / 0.9563 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.6644, allocations: 7.688 kB / 0.9563 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.6644, allocations: 9.766 kB / 0.9563 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6644, allocations: 0 / 0.9563 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.6645, allocations: 59.92 kB / 0.9564 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6645, allocations: 5.234 kB / 0.9564 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6645, allocations: 8.031 kB / 0.9564 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.6646, allocations: 0 / 0.9564 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.537e-05/0.6646, allocations: 6.609 kB / 0.9564 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.6646, allocations: 1.156 kB / 0.9564 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.6647, allocations: 7.594 kB / 0.9564 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.6647, allocations: 1.125 kB / 0.9564 GB, free: 5.277 MB / 0.7169 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/0.6647, allocations: 195.5 kB / 0.9566 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.6648, allocations: 112.3 kB / 0.9567 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.6648, allocations: 120.3 kB / 0.9568 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.6648, allocations: 184.2 kB / 0.957 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/0.6649, allocations: 181.4 kB / 0.9571 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.6649, allocations: 177.6 kB / 0.9573 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.665, allocations: 422.1 kB / 0.9577 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.6651, allocations: 114.2 kB / 0.9578 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.6651, allocations: 101 kB / 0.9579 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/0.6651, allocations: 190.3 kB / 0.9581 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.6651, allocations: 177.7 kB / 0.9583 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.948e-05/0.6651, allocations: 177.7 kB / 0.9584 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.202e-05/0.6652, allocations: 181.7 kB / 0.9586 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.203e-05/0.6652, allocations: 312.1 kB / 0.9589 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.6653, allocations: 191.8 kB / 0.9591 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.6653, allocations: 181 kB / 0.9593 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.6654, allocations: 111.1 kB / 0.9594 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.6654, allocations: 180.3 kB / 0.9595 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.6655, allocations: 106.3 kB / 0.9596 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.823e-05/0.6655, allocations: 134.2 kB / 0.9598 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6655, allocations: 0 / 0.9598 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002153/0.6658, allocations: 4.875 kB / 0.9598 GB, free: 1.656 MB / 0.7169 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001165/0.6659, allocations: 173.5 kB / 0.9599 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.999e-05/0.666, allocations: 13.33 kB / 0.96 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.666, allocations: 4.062 kB / 0.96 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.666, allocations: 1.469 kB / 0.96 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.6663, allocations: 0.5259 MB / 0.9605 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.6665, allocations: 221.8 kB / 0.9607 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.6666, allocations: 0.6953 MB / 0.9614 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.626e-05/0.6666, allocations: 5.688 kB / 0.9614 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.6667, allocations: 8.781 kB / 0.9614 GB, free: 24 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6667, allocations: 0 / 0.9614 GB, free: 24 kB / 0.7169 GB Notification: Performance of Templates: time 0.002388/0.6691, allocations: 429.5 kB / 0.9618 GB, free: 15.8 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches