Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.135/2.135, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001041/0.001041, allocations: 172.9 kB / 492.3 MB, free: 0.6328 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.587/1.587, allocations: 221.3 MB / 0.7871 GB, free: 12.99 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.0009465/0.0009466, allocations: 98.47 kB / 0.9267 GB, free: 14.06 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.929e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3149, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.319, allocations: 154 MB / 1.363 GB, free: 18.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.319, allocations: 86.83 kB / 1.363 GB, free: 18.82 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0219/1.341, allocations: 8.972 MB / 1.372 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.284e-06/1.341, allocations: 0 / 1.372 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.034e-05/1.341, allocations: 7.875 kB / 1.372 GB, free: 33.96 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006951/1.342, allocations: 0.4962 MB / 1.372 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.342, allocations: 11.31 kB / 1.372 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/1.342, allocations: 34.17 kB / 1.372 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/1.343, allocations: 277.8 kB / 1.372 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/1.343, allocations: 11.25 kB / 1.372 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/1.343, allocations: 18.69 kB / 1.372 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/1.343, allocations: 216.8 kB / 1.373 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.343, allocations: 3.906 kB / 1.373 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/1.343, allocations: 6.625 kB / 1.373 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.343, allocations: 7.812 kB / 1.373 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00074/1.344, allocations: 0.7463 MB / 1.373 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/1.345, allocations: 0.6091 MB / 1.374 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/1.345, allocations: 299.3 kB / 1.374 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/1.345, allocations: 110 kB / 1.374 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/1.345, allocations: 22.12 kB / 1.374 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/1.346, allocations: 171 kB / 1.375 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/1.346, allocations: 0 / 1.375 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.000446/1.346, allocations: 288.6 kB / 1.375 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/1.346, allocations: 132.4 kB / 1.375 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/1.346, allocations: 268.7 kB / 1.375 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/1.347, allocations: 39.3 kB / 1.375 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/1.347, allocations: 131.9 kB / 1.375 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/1.347, allocations: 111.2 kB / 1.375 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/1.347, allocations: 9.969 kB / 1.376 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.347, allocations: 338.2 kB / 1.376 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/1.347, allocations: 75.97 kB / 1.376 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/1.347, allocations: 128.7 kB / 1.376 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/1.347, allocations: 97.69 kB / 1.376 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.347, allocations: 3.938 kB / 1.376 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003618/1.348, allocations: 279.2 kB / 1.376 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.348, allocations: 3.781 kB / 1.376 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.348, allocations: 0 / 1.376 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.348, allocations: 7.891 kB / 1.376 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/1.348, allocations: 62.3 kB / 1.376 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/1.348, allocations: 0 / 1.376 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/1.348, allocations: 33.25 kB / 1.376 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/1.348, allocations: 12.98 kB / 1.376 GB, free: 31.86 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 (36): * Single equations (assignments): 36 * 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.616e-05/1.348, allocations: 121.6 kB / 1.377 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/1.348, allocations: 23.38 kB / 1.377 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006248/1.349, allocations: 390.9 kB / 1.377 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.349, allocations: 7.906 kB / 1.377 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.349, allocations: 3.953 kB / 1.377 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.349, allocations: 6.859 kB / 1.377 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/1.349, allocations: 346.9 kB / 1.377 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.349, allocations: 0 / 1.377 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/1.349, allocations: 60.5 kB / 1.377 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/1.349, allocations: 0 / 1.377 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/1.349, allocations: 9.281 kB / 1.377 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.349, allocations: 3.812 kB / 1.377 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.349, allocations: 0 / 1.377 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/1.35, allocations: 330.4 kB / 1.378 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/1.35, allocations: 159.1 kB / 1.378 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/1.35, allocations: 7.062 kB / 1.378 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/1.35, allocations: 32.06 kB / 1.378 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/1.35, allocations: 24.25 kB / 1.378 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/1.35, allocations: 18.39 kB / 1.378 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001768/1.35, allocations: 227.8 kB / 1.378 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.35, allocations: 0 / 1.378 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002993/1.351, allocations: 76.84 kB / 1.378 GB, free: 31.14 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 (35): * Single equations (assignments): 34 * 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.0008493/1.352, allocations: 378.7 kB / 1.379 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003321/1.352, allocations: 223.2 kB / 1.379 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.352, allocations: 0 / 1.379 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/1.352, allocations: 129.6 kB / 1.379 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/1.352, allocations: 36.53 kB / 1.379 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/1.353, allocations: 416.5 kB / 1.379 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/1.353, allocations: 0.7737 MB / 1.38 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003081/1.354, allocations: 151.1 kB / 1.38 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/1.354, allocations: 46.92 kB / 1.38 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.354, allocations: 0 / 1.38 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of Templates: time 0.006265/1.36, allocations: 3.338 MB / 1.384 GB, free: 29.21 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches