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.229/2.229, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.001092/0.001092, allocations: 180.9 kB / 492.3 MB, free: 0.6133 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.625/1.625, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 87.91 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.946e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3533, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.577, allocations: 152.8 MB / 1.362 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.577, allocations: 82.02 kB / 1.362 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02133/1.599, allocations: 8.046 MB / 1.37 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.254e-06/1.599, allocations: 0 / 1.37 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.91e-05/1.599, allocations: 3.875 kB / 1.37 GB, free: 34.23 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.0007288/1.6, allocations: 482.1 kB / 1.37 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/1.6, allocations: 7.719 kB / 1.37 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/1.6, allocations: 23.38 kB / 1.37 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/1.6, allocations: 278 kB / 1.37 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/1.6, allocations: 7.906 kB / 1.37 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/1.6, allocations: 14.5 kB / 1.37 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/1.601, allocations: 209.3 kB / 1.371 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.601, allocations: 4 kB / 1.371 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/1.601, allocations: 3 kB / 1.371 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/1.601, allocations: 3.906 kB / 1.371 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007886/1.602, allocations: 0.7308 MB / 1.371 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/1.602, allocations: 0.5583 MB / 1.372 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/1.603, allocations: 300.4 kB / 1.372 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/1.603, allocations: 98.59 kB / 1.372 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.304e-05/1.603, allocations: 20.52 kB / 1.372 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/1.603, allocations: 170.7 kB / 1.372 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/1.603, allocations: 0 / 1.372 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.0004968/1.604, allocations: 278.2 kB / 1.373 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/1.604, allocations: 136.3 kB / 1.373 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/1.604, allocations: 263.9 kB / 1.373 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/1.604, allocations: 29.14 kB / 1.373 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/1.604, allocations: 122.8 kB / 1.373 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/1.604, allocations: 115 kB / 1.373 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/1.604, allocations: 6.625 kB / 1.373 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/1.605, allocations: 338.2 kB / 1.374 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/1.605, allocations: 81.75 kB / 1.374 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/1.605, allocations: 127.5 kB / 1.374 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/1.605, allocations: 97.45 kB / 1.374 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.605, allocations: 0 / 1.374 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003713/1.605, allocations: 279.3 kB / 1.374 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.605, allocations: 3.75 kB / 1.374 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.605, allocations: 3.984 kB / 1.374 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.605, allocations: 0 / 1.374 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/1.606, allocations: 71.22 kB / 1.374 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.606, allocations: 0 / 1.374 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/1.606, allocations: 37.67 kB / 1.374 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/1.606, allocations: 10.94 kB / 1.374 GB, free: 32.16 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 9.798e-05/1.606, allocations: 122 kB / 1.374 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/1.606, allocations: 23.22 kB / 1.374 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/1.607, allocations: 376.9 kB / 1.375 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.607, allocations: 7.828 kB / 1.375 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.607, allocations: 0 / 1.375 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.607, allocations: 0 / 1.375 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/1.607, allocations: 340.2 kB / 1.375 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.607, allocations: 3.906 kB / 1.375 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/1.607, allocations: 55.64 kB / 1.375 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.607, allocations: 3.781 kB / 1.375 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/1.607, allocations: 10.16 kB / 1.375 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/1.607, allocations: 3.984 kB / 1.375 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.607, allocations: 0 / 1.375 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/1.608, allocations: 330.2 kB / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/1.608, allocations: 156.6 kB / 1.376 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/1.608, allocations: 6.312 kB / 1.376 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/1.608, allocations: 17.7 kB / 1.376 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/1.608, allocations: 27.88 kB / 1.376 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/1.608, allocations: 13.62 kB / 1.376 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002011/1.608, allocations: 221.5 kB / 1.376 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.608, allocations: 0 / 1.376 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003005/1.609, allocations: 67.2 kB / 1.376 GB, free: 31.45 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.0009374/1.61, allocations: 379.9 kB / 1.376 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003477/1.61, allocations: 217.5 kB / 1.377 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.61, allocations: 0 / 1.377 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/1.61, allocations: 128.5 kB / 1.377 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/1.61, allocations: 26.61 kB / 1.377 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/1.611, allocations: 401.8 kB / 1.377 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/1.611, allocations: 0.7571 MB / 1.378 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003031/1.612, allocations: 152.5 kB / 1.378 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.485e-05/1.612, allocations: 46.84 kB / 1.378 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.612, allocations: 3.938 kB / 1.378 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of Templates: time 0.00704/1.619, allocations: 2.965 MB / 1.381 GB, free: 30.07 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