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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 184.8 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009002/0.0009001, allocations: 87.8 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.481e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3334, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.484, allocations: 152.1 MB / 1.355 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.484, allocations: 87.41 kB / 1.355 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01949/1.503, allocations: 7.897 MB / 1.362 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.083e-06/1.503, allocations: 0 / 1.362 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.985e-05/1.503, allocations: 3.688 kB / 1.362 GB, free: 33.75 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006165/1.504, allocations: 473.9 kB / 1.363 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.504, allocations: 11.5 kB / 1.363 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/1.504, allocations: 23.12 kB / 1.363 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/1.505, allocations: 272.6 kB / 1.363 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/1.505, allocations: 3.906 kB / 1.363 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/1.505, allocations: 7.719 kB / 1.363 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008225/1.505, allocations: 0.7207 MB / 1.364 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/1.506, allocations: 193.2 kB / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.506, allocations: 0 / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/1.506, allocations: 2.719 kB / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.506, allocations: 3.875 kB / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/1.507, allocations: 0.5249 MB / 1.364 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/1.507, allocations: 271 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/1.507, allocations: 93.53 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/1.507, allocations: 21.86 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/1.507, allocations: 162.3 kB / 1.365 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/1.507, allocations: 0 / 1.365 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.0004256/1.508, allocations: 257.9 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/1.508, allocations: 138.8 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/1.508, allocations: 250.3 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/1.508, allocations: 25.7 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/1.508, allocations: 126.5 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/1.508, allocations: 108.4 kB / 1.366 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/1.508, allocations: 3.938 kB / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.508, allocations: 339.2 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.44e-05/1.509, allocations: 69.42 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/1.509, allocations: 117.2 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/1.509, allocations: 111.6 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.509, allocations: 0 / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003244/1.509, allocations: 247.3 kB / 1.367 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.509, allocations: 3.844 kB / 1.367 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.509, allocations: 0 / 1.367 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.509, allocations: 3.875 kB / 1.367 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/1.509, allocations: 62.03 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.509, allocations: 4 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/1.51, allocations: 26.3 kB / 1.367 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/1.51, allocations: 14.42 kB / 1.367 GB, free: 31.74 MB / 0.8386 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.51, allocations: 112.8 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/1.51, allocations: 23.41 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005873/1.51, allocations: 363.1 kB / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.51, allocations: 3.844 kB / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.51, allocations: 4 kB / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.51, allocations: 2.859 kB / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/1.511, allocations: 299.2 kB / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.511, allocations: 3.688 kB / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/1.511, allocations: 49.22 kB / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.511, allocations: 7.781 kB / 1.368 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/1.511, allocations: 9.812 kB / 1.368 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.511, allocations: 0 / 1.368 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.511, allocations: 4 kB / 1.368 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/1.511, allocations: 302.9 kB / 1.368 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/1.511, allocations: 158.1 kB / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/1.511, allocations: 0 / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/1.511, allocations: 10.64 kB / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/1.512, allocations: 24.61 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/1.512, allocations: 21.05 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001622/1.512, allocations: 208.1 kB / 1.368 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.512, allocations: 3.938 kB / 1.368 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002912/1.512, allocations: 61.84 kB / 1.368 GB, free: 31.05 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007998/1.513, allocations: 351.5 kB / 1.369 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002951/1.513, allocations: 207 kB / 1.369 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.513, allocations: 0 / 1.369 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/1.513, allocations: 116.8 kB / 1.369 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/1.514, allocations: 24.95 kB / 1.369 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/1.514, allocations: 388.6 kB / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/1.515, allocations: 0.7586 MB / 1.37 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002969/1.515, allocations: 147.8 kB / 1.37 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/1.515, allocations: 47.17 kB / 1.37 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.515, allocations: 0 / 1.37 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of Templates: time 0.005476/1.52, allocations: 2.795 MB / 1.373 GB, free: 29.66 MB / 0.8386 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","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches