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.008527/0.008527, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001466/0.001466, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.481/2.481, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 67.89 kB / 0.9509 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.001949/1.047, allocations: 0.6479 MB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001717/1.047, allocations: 19.47 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/1.047, allocations: 5.188 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/1.047, allocations: 5.297 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/1.047, allocations: 0.875 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/1.047, allocations: 3.438 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/1.047, allocations: 40.33 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/1.047, allocations: 30.64 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.01e-05/1.047, allocations: 19.25 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.675e-05/1.047, allocations: 21.98 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/1.047, allocations: 2.656 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/1.047, allocations: 3.562 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/1.048, allocations: 9 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/1.048, allocations: 16.91 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/1.048, allocations: 48.75 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.048, allocations: 1.156 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.674e-06/1.048, allocations: 0 / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.048, allocations: 0 / 1.089 GB, free: 4.996 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.0003351/1.048, allocations: 349.1 kB / 1.089 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.048, allocations: 9.688 kB / 1.089 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/1.048, allocations: 11.69 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/1.048, allocations: 183.6 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/1.048, allocations: 2.656 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/1.048, allocations: 7.469 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/1.049, allocations: 78.5 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.049, allocations: 192 / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.049, allocations: 5.453 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.049, allocations: 1.062 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/1.049, allocations: 53 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/1.049, allocations: 489 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/1.049, allocations: 170.1 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/1.049, allocations: 81.3 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/1.049, allocations: 79.8 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/1.049, allocations: 111.5 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/1.049, allocations: 0 / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.129e-05/1.049, allocations: 29.47 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/1.049, allocations: 127.8 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/1.05, allocations: 179 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/1.05, allocations: 30.8 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/1.05, allocations: 101.6 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/1.05, allocations: 0 / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/1.05, allocations: 13.97 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.297e-05/1.05, allocations: 318.3 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/1.05, allocations: 10.25 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/1.05, allocations: 11.16 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/1.05, allocations: 16.89 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.05, allocations: 64 / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001171/1.05, allocations: 56.59 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.05, allocations: 5.688 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.05, allocations: 0.6094 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.05, allocations: 1.062 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/1.05, allocations: 2.75 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.05, allocations: 5.594 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/1.05, allocations: 3.281 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/1.05, allocations: 2.719 kB / 1.091 GB, free: 2.613 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.931e-05/1.05, allocations: 197.5 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/1.05, allocations: 117.8 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/1.05, allocations: 113.2 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/1.05, allocations: 182.3 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-05/1.05, allocations: 182.2 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/1.05, allocations: 178.8 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/1.051, allocations: 429.6 kB / 1.093 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.925e-05/1.051, allocations: 107.4 kB / 1.093 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/1.051, allocations: 106.7 kB / 1.093 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.8e-05/1.051, allocations: 177 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.072e-05/1.051, allocations: 182.2 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.573e-05/1.051, allocations: 185.4 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-05/1.051, allocations: 181.7 kB / 1.093 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/1.051, allocations: 311.6 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/1.052, allocations: 184.4 kB / 1.094 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/1.052, allocations: 181.7 kB / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/1.052, allocations: 112.6 kB / 1.094 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.352e-05/1.052, allocations: 184.9 kB / 1.094 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/1.052, allocations: 102.3 kB / 1.095 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001455/1.052, allocations: 138 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.052, allocations: 1.125 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002446/1.052, allocations: 4.188 kB / 1.095 GB, free: 15.02 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.0002162/1.053, allocations: 178.8 kB / 1.095 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.558e-05/1.053, allocations: 16.95 kB / 1.095 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.053, allocations: 0 / 1.095 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/1.053, allocations: 1.562 kB / 1.095 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/1.053, allocations: 460.1 kB / 1.095 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/1.054, allocations: 220.5 kB / 1.095 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/1.054, allocations: 0.693 MB / 1.096 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.23e-05/1.054, allocations: 7.25 kB / 1.096 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/1.054, allocations: 13.62 kB / 1.096 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/1.054, allocations: 0 / 1.096 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.003659/1.058, allocations: 478.8 kB / 1.097 GB, free: 13.42 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/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