Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009432/0.0009432, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008132/0.008132, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.703/2.703, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 12.28 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8634, allocations: 142.4 MB / 0.9551 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.001542/0.8651, allocations: 440.8 kB / 0.9555 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.8665, allocations: 0.8014 MB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.953e-05/0.8666, allocations: 1.219 kB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.8666, allocations: 4 kB / 0.9563 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.8668, allocations: 8.953 kB / 0.9563 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.867, allocations: 9.25 kB / 0.9563 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.8671, allocations: 44.97 kB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.8673, allocations: 8.688 kB / 0.9563 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.8674, allocations: 17.72 kB / 0.9563 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.8675, allocations: 17.36 kB / 0.9564 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.8676, allocations: 6.094 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.09e-05/0.8676, allocations: 1.062 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.8676, allocations: 17.05 kB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.8677, allocations: 36.86 kB / 0.9564 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.8679, allocations: 35.55 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.8679, allocations: 0 / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.9e-06/0.8679, allocations: 1 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.8679, allocations: 0 / 0.9565 GB, free: 6.625 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007714/0.8687, allocations: 371.5 kB / 0.9568 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.036e-05/0.8688, allocations: 10 kB / 0.9568 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.8688, allocations: 6.062 kB / 0.9568 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.869, allocations: 174.7 kB / 0.957 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.869, allocations: 1.5 kB / 0.957 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.8691, allocations: 2.719 kB / 0.957 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.8694, allocations: 81 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.8695, allocations: 192 / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.8695, allocations: 4.969 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.8695, allocations: 1.031 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.8699, allocations: 94.7 kB / 0.9572 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.8704, allocations: 267.2 kB / 0.9574 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.8707, allocations: 65.33 kB / 0.9575 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.8709, allocations: 58.23 kB / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.871, allocations: 0 / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.871, allocations: 31.72 kB / 0.9576 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.871, allocations: 3.938 kB / 0.9576 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006714/0.8717, allocations: 163.3 kB / 0.9577 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.8718, allocations: 52.53 kB / 0.9578 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.8719, allocations: 108 kB / 0.9579 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.8719, allocations: 29.7 kB / 0.9579 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.872, allocations: 85.48 kB / 0.958 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.872, allocations: 13.44 kB / 0.958 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.8721, allocations: 15.19 kB / 0.958 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8722, allocations: 316.4 kB / 0.9583 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.8724, allocations: 39 kB / 0.9584 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.8726, allocations: 47.08 kB / 0.9584 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.8729, allocations: 90.73 kB / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.873, allocations: 3.938 kB / 0.9585 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003548/0.8733, allocations: 121.7 kB / 0.9586 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.8734, allocations: 11.16 kB / 0.9586 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8734, allocations: 4 kB / 0.9586 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.8734, allocations: 0 / 0.9586 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.8736, allocations: 24.17 kB / 0.9587 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.8736, allocations: 0 / 0.9587 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.8737, allocations: 20.36 kB / 0.9587 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.8737, allocations: 0 / 0.9587 GB, free: 4.637 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 (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.337e-05/0.8738, allocations: 116.5 kB / 0.9588 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.8738, allocations: 9.281 kB / 0.9588 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.8743, allocations: 132.6 kB / 0.9589 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8743, allocations: 0 / 0.9589 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.8743, allocations: 1.375 kB / 0.9589 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.8743, allocations: 0 / 0.9589 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.8745, allocations: 168.5 kB / 0.9591 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8745, allocations: 1.375 kB / 0.9591 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.8746, allocations: 23.09 kB / 0.9591 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8746, allocations: 3.938 kB / 0.9591 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.8747, allocations: 5.375 kB / 0.9591 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.8747, allocations: 0 / 0.9591 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8747, allocations: 0 / 0.9591 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.8751, allocations: 223.8 kB / 0.9593 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.8751, allocations: 82.89 kB / 0.9594 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.8752, allocations: 1.375 kB / 0.9594 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.8753, allocations: 18.98 kB / 0.9594 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.8754, allocations: 2.75 kB / 0.9594 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.8754, allocations: 0 / 0.9594 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.8754, allocations: 90.45 kB / 0.9595 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8754, allocations: 0 / 0.9595 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002204/0.8757, allocations: 6.875 kB / 0.9595 GB, free: 3.84 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 (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.0001905/0.8758, allocations: 97.03 kB / 0.9596 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.8763, allocations: 97.53 kB / 0.9597 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.8763, allocations: 5.062 kB / 0.9597 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.8765, allocations: 49.83 kB / 0.9598 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.8769, allocations: 12.16 kB / 0.9598 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.8773, allocations: 134.7 kB / 0.9599 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.8776, allocations: 0.6833 MB / 0.9606 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.8776, allocations: 1.5 kB / 0.9606 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.8776, allocations: 9 kB / 0.9606 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.8777, allocations: 3.938 kB / 0.9606 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of Templates: time 0.003174/0.8808, allocations: 0.5403 MB / 0.9611 GB, free: 2.559 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches