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.001297/0.001297, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001267/0.001267, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.404/2.404, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.91 kB / 0.9516 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9686/0.9701, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.00177/0.9719, allocations: 0.6555 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.9721, allocations: 12.23 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.467e-05/0.9722, allocations: 0 / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.9723, allocations: 5.578 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.9723, allocations: 5.812 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.211e-05/0.9724, allocations: 5.859 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.9725, allocations: 41.69 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.9727, allocations: 33.94 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.828e-05/0.9727, allocations: 11.72 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.16e-05/0.9728, allocations: 17.33 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.9728, allocations: 3.25 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.9728, allocations: 3.125 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.9728, allocations: 8.391 kB / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.9729, allocations: 17.95 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.973, allocations: 56.61 kB / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.973, allocations: 0.75 kB / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.973, allocations: 4 kB / 1.09 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.973, allocations: 4.688 kB / 1.09 GB, free: 4.965 MB / 0.8575 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.0003118/0.9733, allocations: 345.4 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.9734, allocations: 8.188 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.9734, allocations: 8.156 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.9736, allocations: 179.4 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.9736, allocations: 7.391 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.9736, allocations: 2.969 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.9738, allocations: 78.61 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.9738, allocations: 4.188 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.9738, allocations: 8.875 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.9738, allocations: 1.062 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.823e-05/0.9739, allocations: 49.28 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.9743, allocations: 489.4 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.937e-05/0.9744, allocations: 166.3 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.9744, allocations: 84.75 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.9744, allocations: 80.22 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.9744, allocations: 107.5 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.9745, allocations: 3.938 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.522e-05/0.9745, allocations: 28.91 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.9746, allocations: 128.4 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.9747, allocations: 181 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-06/0.9747, allocations: 25.7 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.9748, allocations: 97.89 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.9748, allocations: 3.938 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.9748, allocations: 13.12 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.9749, allocations: 320.3 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.9749, allocations: 6.219 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.9749, allocations: 10.33 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.915e-05/0.975, allocations: 20.31 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.975, allocations: 0 / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001191/0.9751, allocations: 53.47 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.9751, allocations: 7.969 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.9751, allocations: 0 / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.9752, allocations: 1.875 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.9752, allocations: 2.25 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.9752, allocations: 5.766 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.9753, allocations: 7.688 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.9753, allocations: 2.109 kB / 1.092 GB, free: 2.59 MB / 0.8575 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 7.726e-05/0.9754, allocations: 194.7 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.9754, allocations: 116.8 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.9755, allocations: 113.6 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.9755, allocations: 177.7 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/0.9755, allocations: 193.8 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.557e-05/0.9756, allocations: 177.7 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.9758, allocations: 422.8 kB / 1.093 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/0.9759, allocations: 102.7 kB / 1.093 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.9759, allocations: 102.8 kB / 1.093 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.793e-05/0.976, allocations: 181.9 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.976, allocations: 185.8 kB / 1.094 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.965e-05/0.9761, allocations: 182.3 kB / 1.094 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.06e-05/0.9762, allocations: 185.6 kB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.9763, allocations: 308.2 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/0.9764, allocations: 195 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-05/0.9765, allocations: 182.5 kB / 1.095 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.9766, allocations: 107.5 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.9766, allocations: 186.4 kB / 1.095 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.9767, allocations: 101.7 kB / 1.095 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000119/0.9768, allocations: 131.8 kB / 1.095 GB, free: 15 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.132e-06/0.9768, allocations: 4 kB / 1.095 GB, free: 15 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002397/0.9771, allocations: 8.844 kB / 1.095 GB, free: 14.99 MB / 0.8731 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.0001784/0.9773, allocations: 174.5 kB / 1.096 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.724e-05/0.9773, allocations: 13.09 kB / 1.096 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9774, allocations: 0 / 1.096 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.9774, allocations: 4.969 kB / 1.096 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.9778, allocations: 463.5 kB / 1.096 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.9781, allocations: 237.3 kB / 1.096 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.9784, allocations: 0.6926 MB / 1.097 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.9785, allocations: 10.19 kB / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9785, allocations: 0 / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.002385/0.9808, allocations: 0.7662 MB / 1.098 GB, free: 13.39 MB / 0.8731 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/jenkins1/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