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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001517/0.001518, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 198.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.698/2.698, allocations: 390.2 MB / 0.6646 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9597/0.9609, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.001903/0.9629, allocations: 0.6306 MB / 0.9502 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001589/0.9631, allocations: 14.48 kB / 0.9502 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.9631, allocations: 1.594 kB / 0.9502 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.989e-05/0.9632, allocations: 11.94 kB / 0.9502 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.281e-05/0.9633, allocations: 1.625 kB / 0.9502 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.021e-05/0.9633, allocations: 1.25 kB / 0.9503 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.9635, allocations: 45.59 kB / 0.9503 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.9636, allocations: 39.03 kB / 0.9503 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.9636, allocations: 13.44 kB / 0.9503 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.205e-05/0.9637, allocations: 16.05 kB / 0.9504 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.9637, allocations: 2.75 kB / 0.9504 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.9637, allocations: 2.75 kB / 0.9504 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.9638, allocations: 8.125 kB / 0.9504 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.9638, allocations: 16 kB / 0.9504 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.7e-05/0.9639, allocations: 57.55 kB / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.9639, allocations: 0 / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9639, allocations: 0 / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.587e-06/0.9639, allocations: 1.375 kB / 0.9504 GB, free: 8.574 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.000326/0.9643, allocations: 347.1 kB / 0.9508 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.9643, allocations: 9.625 kB / 0.9508 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.9644, allocations: 3.688 kB / 0.9508 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.9645, allocations: 188.5 kB / 0.951 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.9645, allocations: 5.688 kB / 0.951 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.9646, allocations: 8.5 kB / 0.951 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.9647, allocations: 74.92 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.9647, allocations: 1.562 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.9648, allocations: 7.938 kB / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.9648, allocations: 9.344 kB / 0.9511 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.9649, allocations: 48.84 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.9653, allocations: 483.7 kB / 0.9516 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.98e-05/0.9654, allocations: 170.4 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.9654, allocations: 85.36 kB / 0.9518 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.9654, allocations: 79.27 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.9654, allocations: 111.3 kB / 0.952 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.9655, allocations: 0 / 0.952 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.635e-05/0.9655, allocations: 32.2 kB / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.9656, allocations: 130.7 kB / 0.9522 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.9657, allocations: 173.9 kB / 0.9523 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.9658, allocations: 25.7 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.9658, allocations: 96.81 kB / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.9658, allocations: 0 / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.9659, allocations: 16.91 kB / 0.9525 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.9659, allocations: 320.5 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.9659, allocations: 11.66 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.371e-05/0.966, allocations: 13.61 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.966, allocations: 12.92 kB / 0.9528 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.966, allocations: 1.375 kB / 0.9528 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001213/0.9661, allocations: 50.61 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.9662, allocations: 5.656 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.9662, allocations: 3.938 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.9662, allocations: 1.531 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.471e-05/0.9662, allocations: 1.906 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.9663, allocations: 9.188 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.9663, allocations: 7.625 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.9663, allocations: 1.25 kB / 0.9529 GB, free: 6.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.48e-05/0.9664, allocations: 194.8 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.9664, allocations: 108.6 kB / 0.9532 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.9665, allocations: 119.3 kB / 0.9533 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.9665, allocations: 185.5 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.244e-05/0.9666, allocations: 185.3 kB / 0.9536 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/0.9666, allocations: 177.4 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.9668, allocations: 421.7 kB / 0.9542 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.9668, allocations: 106 kB / 0.9543 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.9668, allocations: 102.5 kB / 0.9544 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.82e-05/0.9668, allocations: 184.2 kB / 0.9546 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.9669, allocations: 177.7 kB / 0.9548 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.944e-05/0.9669, allocations: 186.8 kB / 0.9549 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-05/0.967, allocations: 181.4 kB / 0.9551 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.241e-05/0.9671, allocations: 313.7 kB / 0.9554 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.9671, allocations: 189.7 kB / 0.9556 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.9672, allocations: 184.2 kB / 0.9558 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.516e-05/0.9672, allocations: 103.3 kB / 0.9559 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.9673, allocations: 185.4 kB / 0.956 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.9673, allocations: 110.3 kB / 0.9561 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.975e-05/0.9674, allocations: 137.1 kB / 0.9563 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9674, allocations: 0 / 0.9563 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000237/0.9677, allocations: 4.656 kB / 0.9563 GB, free: 2.465 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 (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.0001618/0.9678, allocations: 174.3 kB / 0.9564 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.596e-05/0.9679, allocations: 13.33 kB / 0.9565 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9679, allocations: 3.938 kB / 0.9565 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.9679, allocations: 5.344 kB / 0.9565 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.9684, allocations: 465.8 kB / 0.9569 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.9687, allocations: 212.5 kB / 0.9571 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.9689, allocations: 0.7016 MB / 0.9578 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.9689, allocations: 9.578 kB / 0.9578 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.969, allocations: 8.812 kB / 0.9578 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.969, allocations: 0 / 0.9578 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of Templates: time 0.00261/0.9716, allocations: 473.3 kB / 0.9583 GB, free: 0.6719 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches