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.001634/0.001634, allocations: 108.4 kB / 16.41 MB, free: 6.461 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.001767/0.001767, allocations: 187 kB / 17.34 MB, free: 5.719 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.519/1.519, allocations: 222.9 MB / 241 MB, free: 15.13 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.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 71.89 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.852/0.8534, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.001958/0.8554, allocations: 0.6544 MB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001644/0.8556, allocations: 12.66 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.8557, allocations: 0 / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.8558, allocations: 6.125 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.644e-05/0.8558, allocations: 0.7812 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.728e-05/0.8559, allocations: 6.828 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.8561, allocations: 45.22 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.8562, allocations: 32.97 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.8563, allocations: 14.84 kB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.8563, allocations: 17.88 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.8563, allocations: 3.062 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.8564, allocations: 3.094 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.8564, allocations: 8.578 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.8564, allocations: 21.72 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.8566, allocations: 49.08 kB / 1.09 GB, free: 5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8566, allocations: 0 / 1.09 GB, free: 5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8566, allocations: 1.156 kB / 1.09 GB, free: 5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8566, allocations: 0 / 1.09 GB, free: 5 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.0003067/0.8569, allocations: 348.3 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.857, allocations: 9.562 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.857, allocations: 12.56 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.8571, allocations: 178.8 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.8571, allocations: 2.5 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.8572, allocations: 7.344 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.8574, allocations: 74.94 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.8574, allocations: 192 / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.8574, allocations: 5.672 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.8574, allocations: 0.875 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.8575, allocations: 52.83 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.8579, allocations: 493.1 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/0.858, allocations: 170.2 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.858, allocations: 85.62 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.858, allocations: 79.28 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.8581, allocations: 111.4 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.8581, allocations: 0 / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.678e-05/0.8582, allocations: 29.69 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.8582, allocations: 131.6 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.8584, allocations: 176.1 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.8584, allocations: 25.81 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.8584, allocations: 109.5 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-06/0.8584, allocations: 1.125 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.8585, allocations: 12.56 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.8585, allocations: 319 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.8586, allocations: 10.47 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.413e-05/0.8586, allocations: 6.781 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.8586, allocations: 16.75 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8586, allocations: 4.062 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.8587, allocations: 57.53 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.8588, allocations: 5.219 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8588, allocations: 1.156 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.8588, allocations: 0.5156 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.8589, allocations: 3.75 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.8589, allocations: 3.938 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.8589, allocations: 8.484 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.8589, allocations: 5.172 kB / 1.092 GB, free: 2.605 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 6.996e-05/0.859, allocations: 198.9 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.859, allocations: 112.9 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.8591, allocations: 110.9 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.8591, allocations: 182 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.873e-05/0.8591, allocations: 180.9 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.8592, allocations: 189.9 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.8594, allocations: 415.6 kB / 1.093 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.481e-05/0.8595, allocations: 101.8 kB / 1.093 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.8595, allocations: 111 kB / 1.093 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.469e-05/0.8596, allocations: 178.4 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.942e-05/0.8597, allocations: 182 kB / 1.094 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.561e-05/0.8598, allocations: 181.1 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.088e-05/0.8598, allocations: 182.6 kB / 1.094 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.86, allocations: 311.3 kB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.8601, allocations: 187.3 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-05/0.8602, allocations: 182 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.8603, allocations: 107.9 kB / 1.095 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.8603, allocations: 190.3 kB / 1.095 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.8604, allocations: 102.8 kB / 1.095 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001137/0.8605, allocations: 133.6 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8605, allocations: 7.875 kB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002439/0.8608, allocations: 5.156 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.000177/0.8609, allocations: 178.4 kB / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.979e-05/0.861, allocations: 12.39 kB / 1.096 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.861, allocations: 0 / 1.096 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.861, allocations: 1.656 kB / 1.096 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.0004661/0.8615, allocations: 461.1 kB / 1.096 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.8618, allocations: 250.3 kB / 1.096 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.8621, allocations: 0.6882 MB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.8622, allocations: 10.69 kB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.8622, allocations: 0 / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.002509/0.8647, allocations: 0.7739 MB / 1.098 GB, free: 13.41 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