Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 105 kB / 16.41 MB, free: 6.465 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.001458/0.001458, 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.11 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.427/2.427, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 75.86 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.844, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002714/0.8468, allocations: 1.634 MB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.8482, allocations: 1.175 MB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.8483, allocations: 1.031 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.8485, allocations: 20.55 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.8487, allocations: 66.03 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.849, allocations: 138.3 kB / 1.092 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.8493, allocations: 230 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.8494, allocations: 28.22 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.8495, allocations: 77.42 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.8497, allocations: 98.66 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.8498, allocations: 16.56 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.8499, allocations: 72.94 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.85, allocations: 80.31 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.8501, allocations: 104.3 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.8505, allocations: 290.9 kB / 1.093 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8505, allocations: 5.438 kB / 1.093 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8505, allocations: 0 / 1.093 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.8505, allocations: 0 / 1.093 GB, free: 2.988 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006165/0.8512, allocations: 0.5246 MB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.8512, allocations: 9.906 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.222e-05/0.8513, allocations: 29.41 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.8515, allocations: 262.5 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.8515, allocations: 11.19 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.8516, allocations: 13.97 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.8519, allocations: 225.8 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.8519, allocations: 0.6562 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.852, allocations: 5.969 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.852, allocations: 4.688 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.853, allocations: 0.737 MB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.8538, allocations: 0.5624 MB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.8543, allocations: 301.8 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.8545, allocations: 103.7 kB / 1.095 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.8546, allocations: 25.19 kB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.8549, allocations: 173.2 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 2.625e-06/0.8549, allocations: 4 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0006704/0.8556, allocations: 374.5 kB / 1.096 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.8557, allocations: 132.9 kB / 1.096 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.856, allocations: 298.8 kB / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.856, allocations: 31.52 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.8561, allocations: 126.9 kB / 1.096 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/0.8561, allocations: 118.1 kB / 1.096 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/0.8562, allocations: 62.33 kB / 1.097 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.8563, allocations: 345.9 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.8564, allocations: 81.22 kB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.8566, allocations: 120.1 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.8569, allocations: 219.1 kB / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.857, allocations: 0.7031 kB / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004262/0.8574, allocations: 276.6 kB / 1.098 GB, free: 32 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.8574, allocations: 5.625 kB / 1.098 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.8574, allocations: 0 / 1.098 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.8574, allocations: 6.156 kB / 1.098 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.8577, allocations: 63.73 kB / 1.098 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.8577, allocations: 1.156 kB / 1.098 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.8578, allocations: 31.73 kB / 1.098 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.8579, allocations: 10.97 kB / 1.098 GB, free: 0 / 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001805/0.8581, allocations: 162.2 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.8581, allocations: 23.84 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000723/0.8588, allocations: 377.6 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.8589, allocations: 3.219 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8589, allocations: 0.6562 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.8589, allocations: 10.83 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.8592, allocations: 329 kB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8593, allocations: 0 / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.8594, allocations: 61.08 kB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.8595, allocations: 1.688 kB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.8595, allocations: 10.59 kB / 1.099 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8595, allocations: 1.156 kB / 1.099 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8595, allocations: 1.078 kB / 1.099 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.86, allocations: 331.5 kB / 1.099 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.8601, allocations: 138.5 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.8602, allocations: 10.77 kB / 1.099 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.8603, allocations: 17.62 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.8604, allocations: 21.8 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.8604, allocations: 23.03 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002188/0.8607, allocations: 225.3 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8607, allocations: 1.125 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003034/0.861, allocations: 61.02 kB / 1.099 GB, free: 14.98 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009017/0.8619, allocations: 405.9 kB / 1.1 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004242/0.8623, allocations: 233.5 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8623, allocations: 0.6094 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.8626, allocations: 128.9 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.8628, allocations: 33.7 kB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000843/0.8637, allocations: 0.5309 MB / 1.101 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.864, allocations: 0.7538 MB / 1.101 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.8642, allocations: 52.83 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.8642, allocations: 0 / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of Templates: time 0.007481/0.8717, allocations: 4.221 MB / 1.106 GB, free: 13.12 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches