Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007872/0.007872, allocations: 102.5 kB / 15.74 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.001428/0.001428, allocations: 196 kB / 16.67 MB, free: 5.961 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.836/2.836, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3587, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003156/0.3619, allocations: 1.644 MB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3637, allocations: 1.16 MB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.3637, allocations: 0 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.364, allocations: 27.78 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.3643, allocations: 71.67 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.3647, allocations: 139.4 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.365, allocations: 233.6 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3652, allocations: 16.22 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.3652, allocations: 75.83 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.3655, allocations: 95.7 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.3655, allocations: 24 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.3657, allocations: 75.95 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3658, allocations: 79.81 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.3659, allocations: 99.39 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.3663, allocations: 290.7 kB / 1.171 GB, free: 2.758 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3663, allocations: 0 / 1.171 GB, free: 2.758 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3663, allocations: 0 / 1.171 GB, free: 2.758 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.3663, allocations: 0 / 1.171 GB, free: 2.758 MB / 0.92 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.0009018/0.3673, allocations: 0.5379 MB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3673, allocations: 20.02 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.3674, allocations: 24.8 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.3677, allocations: 263.8 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3677, allocations: 16.38 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.3678, allocations: 12.38 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.3682, allocations: 220.6 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3682, allocations: 0 / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.3682, allocations: 16 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3682, allocations: 4 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000896/0.3691, allocations: 0.7372 MB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008398/0.37, allocations: 0.567 MB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.3705, allocations: 300 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3706, allocations: 105.4 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.3707, allocations: 24.25 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.3711, allocations: 180.9 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.3711, allocations: 0 / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0006767/0.3718, allocations: 369.3 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.3718, allocations: 140.4 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.3721, allocations: 300 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3722, allocations: 29.7 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.3723, allocations: 128.7 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.926e-05/0.3724, allocations: 115 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.3725, allocations: 69.67 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3726, allocations: 342.8 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3727, allocations: 79.95 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.3729, allocations: 124.4 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.3733, allocations: 217.2 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3733, allocations: 4 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004529/0.3737, allocations: 281.1 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3738, allocations: 4 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3738, allocations: 0 / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3738, allocations: 4 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.374, allocations: 59.91 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.374, allocations: 0 / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.3742, allocations: 27.81 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3742, allocations: 15.98 kB / 1.176 GB, free: 13.21 MB / 0.9356 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.000169/0.3744, allocations: 165.8 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.3744, allocations: 27.81 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000692/0.3751, allocations: 381.6 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.3752, allocations: 4 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3752, allocations: 0 / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3752, allocations: 7.922 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.3755, allocations: 329.3 kB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3755, allocations: 0 / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.3757, allocations: 59.91 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3757, allocations: 4 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.3757, allocations: 11.98 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3758, allocations: 7.938 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3758, allocations: 0 / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.3762, allocations: 321.8 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.3764, allocations: 136.8 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.3764, allocations: 8 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.3766, allocations: 15.98 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.3766, allocations: 23.97 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.3767, allocations: 23.92 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001998/0.3769, allocations: 225.6 kB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3769, allocations: 0 / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002801/0.3772, allocations: 67.88 kB / 1.177 GB, free: 11.33 MB / 0.9356 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.0009579/0.3781, allocations: 414.1 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003974/0.3785, allocations: 227.9 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.3786, allocations: 4 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.3788, allocations: 132.4 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.379, allocations: 32.66 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008188/0.3799, allocations: 0.501 MB / 1.179 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3802, allocations: 0.754 MB / 1.179 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003086/0.3805, allocations: 138.9 kB / 1.18 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.226e-05/0.3806, allocations: 43.41 kB / 1.18 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3806, allocations: 8 kB / 1.18 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of Templates: time 0.007146/0.3878, allocations: 3.032 MB / 1.183 GB, free: 6.172 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches