Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.00152, allocations: 102 kB / 16.4 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.001618/0.001618, allocations: 192.2 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.382/1.382, 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.249/2.249, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001493, allocations: 71.89 kB / 0.9516 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8438, allocations: 140.4 MB / 1.089 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002025/0.8459, allocations: 0.7066 MB / 1.089 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.8469, allocations: 0.8069 MB / 1.09 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.8469, allocations: 1 kB / 1.09 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.847, allocations: 4.5 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.8471, allocations: 10.66 kB / 1.09 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.8472, allocations: 13.5 kB / 1.09 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.069e-05/0.8473, allocations: 40.12 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.8474, allocations: 18.02 kB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.743e-05/0.8475, allocations: 17.36 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/0.8475, allocations: 22.95 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.8476, allocations: 3.281 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.8476, allocations: 4.062 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.8476, allocations: 10.81 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.8476, allocations: 17.78 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.8478, allocations: 40.48 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.8478, allocations: 8.906 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8478, allocations: 0 / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.8478, allocations: 0 / 1.09 GB, free: 4.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005241/0.8483, allocations: 366.9 kB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.8484, allocations: 9.562 kB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.8484, allocations: 6.938 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.8486, allocations: 164.1 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.8486, allocations: 1.312 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.8486, allocations: 7.234 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.8489, allocations: 68.81 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.8489, allocations: 0.8438 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.849, allocations: 3.938 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.849, allocations: 1.25 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.8493, allocations: 66.39 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.8498, allocations: 273.9 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.85, allocations: 59.56 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.8502, allocations: 37.14 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.8502, allocations: 8.688 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.8503, allocations: 31.95 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8503, allocations: 0 / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006381/0.8509, allocations: 128.7 kB / 1.092 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.851, allocations: 56.34 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.8511, allocations: 111.4 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.8511, allocations: 27.72 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.8511, allocations: 81.98 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.8512, allocations: 18.5 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.8512, allocations: 13.05 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.8513, allocations: 317.3 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.8515, allocations: 35.53 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.8516, allocations: 31.94 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.8519, allocations: 69.84 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8519, allocations: 3.938 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003137/0.8523, allocations: 98.83 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.8523, allocations: 6.016 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8523, allocations: 0 / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.8523, allocations: 1.25 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.8525, allocations: 15.34 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.8525, allocations: 1.156 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.8526, allocations: 15.75 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.8526, allocations: 3.938 kB / 1.092 GB, free: 2.812 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 (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 6.046e-05/0.8527, allocations: 116.9 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.8527, allocations: 7.109 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.8531, allocations: 107.7 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.8531, allocations: 5.312 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8531, allocations: 0.9062 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.8531, allocations: 0 / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.8533, allocations: 170.9 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8533, allocations: 0.6875 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.8534, allocations: 16.25 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.8534, allocations: 0 / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.8534, allocations: 0.6562 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.8534, allocations: 1.391 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.8534, allocations: 0.75 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.8538, allocations: 206.5 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.8539, allocations: 86.3 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.8539, allocations: 2.172 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.854, allocations: 10.75 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.8541, allocations: 11.88 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.8541, allocations: 1.469 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.8541, allocations: 92.59 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8541, allocations: 0 / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002179/0.8544, allocations: 6.344 kB / 1.093 GB, free: 2.082 MB / 0.8575 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.0001644/0.8545, allocations: 98.58 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.8549, allocations: 71.5 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8549, allocations: 1.125 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.8551, allocations: 38.11 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.8554, allocations: 12.39 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.8558, allocations: 148.7 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.856, allocations: 0.6813 MB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.856, allocations: 13.69 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.856, allocations: 0 / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of Templates: time 0.002635/0.8587, allocations: 0.7402 MB / 1.095 GB, free: 1.082 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches