Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.221/2.221, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001579/0.001578, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.001028/0.001028, allocations: 87.89 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.38e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3599, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.593, allocations: 153.6 MB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.593, allocations: 80.8 kB / 1.369 GB, free: 440 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02212/1.615, allocations: 8.03 MB / 1.377 GB, free: 9.824 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.195e-06/1.615, allocations: 0 / 1.377 GB, free: 9.824 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.347e-05/1.615, allocations: 4 kB / 1.377 GB, free: 9.82 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.0007871/1.616, allocations: 487.8 kB / 1.377 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.616, allocations: 8.031 kB / 1.377 GB, free: 9.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/1.616, allocations: 23.72 kB / 1.377 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/1.617, allocations: 274.6 kB / 1.377 GB, free: 8.996 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/1.617, allocations: 14.94 kB / 1.377 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/1.617, allocations: 11.25 kB / 1.377 GB, free: 8.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/1.617, allocations: 219.4 kB / 1.378 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/1.617, allocations: 0 / 1.378 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/1.617, allocations: 10.31 kB / 1.378 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/1.617, allocations: 4 kB / 1.378 GB, free: 8.781 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/1.618, allocations: 0.7293 MB / 1.378 GB, free: 8.137 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/1.619, allocations: 0.5693 MB / 1.379 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/1.62, allocations: 293.6 kB / 1.379 GB, free: 7.395 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/1.62, allocations: 97.28 kB / 1.379 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/1.62, allocations: 20.19 kB / 1.379 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/1.62, allocations: 174.6 kB / 1.38 GB, free: 7.164 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/1.62, allocations: 0 / 1.38 GB, free: 7.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.0005638/1.621, allocations: 281 kB / 1.38 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/1.621, allocations: 136.5 kB / 1.38 GB, free: 6.773 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/1.621, allocations: 254.9 kB / 1.38 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/1.621, allocations: 34.7 kB / 1.38 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/1.621, allocations: 121.9 kB / 1.38 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/1.621, allocations: 117.2 kB / 1.38 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/1.621, allocations: 7.75 kB / 1.38 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.622, allocations: 334.3 kB / 1.381 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/1.622, allocations: 75.3 kB / 1.381 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/1.622, allocations: 124.3 kB / 1.381 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/1.622, allocations: 102.2 kB / 1.381 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.622, allocations: 0 / 1.381 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004672/1.623, allocations: 272.2 kB / 1.381 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.623, allocations: 5.406 kB / 1.381 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.623, allocations: 0 / 1.381 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/1.623, allocations: 4 kB / 1.381 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/1.623, allocations: 67.84 kB / 1.381 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.623, allocations: 3.953 kB / 1.381 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/1.623, allocations: 31.67 kB / 1.381 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/1.623, allocations: 11.98 kB / 1.381 GB, free: 5.438 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.0001335/1.623, allocations: 118.8 kB / 1.382 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/1.623, allocations: 23.72 kB / 1.382 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007322/1.624, allocations: 382.9 kB / 1.382 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.624, allocations: 4 kB / 1.382 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.624, allocations: 0 / 1.382 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.624, allocations: 3.953 kB / 1.382 GB, free: 5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/1.625, allocations: 337.4 kB / 1.382 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.625, allocations: 0 / 1.382 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/1.625, allocations: 59.47 kB / 1.382 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/1.625, allocations: 0 / 1.382 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/1.625, allocations: 14.98 kB / 1.382 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.625, allocations: 8 kB / 1.382 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.625, allocations: 0 / 1.382 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/1.625, allocations: 330.4 kB / 1.383 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/1.626, allocations: 153.1 kB / 1.383 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/1.626, allocations: 6.062 kB / 1.383 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/1.626, allocations: 19.42 kB / 1.383 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/1.626, allocations: 23.47 kB / 1.383 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/1.626, allocations: 15.98 kB / 1.383 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002104/1.626, allocations: 216.7 kB / 1.383 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.626, allocations: 0 / 1.383 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003563/1.626, allocations: 62.12 kB / 1.383 GB, free: 3.898 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.0009678/1.627, allocations: 380 kB / 1.383 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000395/1.628, allocations: 221.3 kB / 1.384 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.628, allocations: 3.938 kB / 1.384 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/1.628, allocations: 127.8 kB / 1.384 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/1.628, allocations: 35.11 kB / 1.384 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/1.629, allocations: 393.2 kB / 1.384 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/1.629, allocations: 0.7643 MB / 1.385 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003294/1.63, allocations: 146.8 kB / 1.385 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.653e-05/1.63, allocations: 43.36 kB / 1.385 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.63, allocations: 4 kB / 1.385 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of Templates: time 0.007132/1.637, allocations: 2.958 MB / 1.388 GB, free: 15.11 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches