Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005495/0.005495, allocations: 99 kB / 15.73 MB, free: 6.039 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.001113/0.001113, allocations: 195.8 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.789/2.789, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.88 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3619, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002981/0.3649, allocations: 1.62 MB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3667, allocations: 1.179 MB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.3667, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.367, allocations: 23.84 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.3673, allocations: 71.38 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.3676, allocations: 143.6 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.368, allocations: 237.5 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3681, allocations: 20.2 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.478e-05/0.3682, allocations: 79.83 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.3684, allocations: 87.77 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.3684, allocations: 16 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.3686, allocations: 79.95 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.587e-05/0.3687, allocations: 87.69 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.3688, allocations: 103.4 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.3692, allocations: 282.8 kB / 1.225 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3692, allocations: 4 kB / 1.225 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3692, allocations: 0 / 1.225 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3692, allocations: 0 / 1.225 GB, free: 9.762 MB / 0.9825 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.0007986/0.37, allocations: 0.538 MB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.37, allocations: 8.031 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.3701, allocations: 24.8 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3704, allocations: 271.8 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3704, allocations: 12.38 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.3704, allocations: 16.38 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.3708, allocations: 226.4 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3708, allocations: 0 / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.3708, allocations: 4 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3708, allocations: 4 kB / 1.226 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008496/0.3717, allocations: 0.7373 MB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008972/0.3726, allocations: 0.567 MB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.3731, allocations: 296.5 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.3732, allocations: 89.38 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.56e-05/0.3733, allocations: 20.25 kB / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.3736, allocations: 176.9 kB / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.3736, allocations: 4 kB / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0006587/0.3743, allocations: 366.1 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.3744, allocations: 136.5 kB / 1.228 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.3747, allocations: 300 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3747, allocations: 33.7 kB / 1.228 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.3748, allocations: 124.7 kB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3749, allocations: 119 kB / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.375, allocations: 61.69 kB / 1.229 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3751, allocations: 342.8 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.3753, allocations: 83.95 kB / 1.229 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.3755, allocations: 136.1 kB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.3758, allocations: 209.1 kB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3758, allocations: 0 / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004972/0.3763, allocations: 285.1 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3763, allocations: 5.875 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3763, allocations: 0 / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3763, allocations: 4 kB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.3766, allocations: 63.91 kB / 1.23 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3766, allocations: 4 kB / 1.23 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3767, allocations: 35.7 kB / 1.23 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.3768, allocations: 12 kB / 1.23 GB, free: 4.238 MB / 0.9825 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.0001577/0.3769, allocations: 161.7 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.377, allocations: 23.86 kB / 1.23 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006698/0.3776, allocations: 380.8 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3776, allocations: 4 kB / 1.23 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.3776, allocations: 4 kB / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3776, allocations: 7.875 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.378, allocations: 333.3 kB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.378, allocations: 0 / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.3781, allocations: 55.97 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3781, allocations: 0 / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.3782, allocations: 8 kB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3782, allocations: 4 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3782, allocations: 3.938 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.3787, allocations: 329.9 kB / 1.231 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.3789, allocations: 144.8 kB / 1.231 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.3789, allocations: 7.938 kB / 1.231 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3791, allocations: 17.95 kB / 1.231 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.3791, allocations: 23.97 kB / 1.231 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.3792, allocations: 15.92 kB / 1.231 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002013/0.3794, allocations: 229.8 kB / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3794, allocations: 0 / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002971/0.3797, allocations: 63.92 kB / 1.231 GB, free: 2.363 MB / 0.9825 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.0009098/0.3806, allocations: 393.2 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.381, allocations: 220.2 kB / 1.232 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.381, allocations: 0 / 1.232 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.3812, allocations: 127.8 kB / 1.232 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3814, allocations: 36.41 kB / 1.232 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008207/0.3823, allocations: 0.5043 MB / 1.233 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3826, allocations: 0.7579 MB / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003308/0.3829, allocations: 146.8 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.508e-05/0.383, allocations: 47.34 kB / 1.234 GB, free: 244 kB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.383, allocations: 0 / 1.234 GB, free: 244 kB / 0.9825 GB Notification: Performance of Templates: time 0.006739/0.3898, allocations: 3.039 MB / 1.237 GB, free: 13.22 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches