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.18/2.18, 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.0009958/0.0009959, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.552/1.552, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.0009817/0.0009818, allocations: 103.8 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.232e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3233, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.343, allocations: 153.3 MB / 1.356 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/1.343, allocations: 86.94 kB / 1.356 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02189/1.365, allocations: 8.816 MB / 1.364 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/1.365, allocations: 4 kB / 1.364 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.045e-05/1.365, allocations: 7.75 kB / 1.364 GB, free: 33.46 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.00083/1.366, allocations: 499.2 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.366, allocations: 14.25 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/1.366, allocations: 27.19 kB / 1.365 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/1.367, allocations: 278.8 kB / 1.365 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/1.367, allocations: 3.906 kB / 1.365 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/1.367, allocations: 11.72 kB / 1.365 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008555/1.368, allocations: 0.7402 MB / 1.366 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/1.368, allocations: 204.4 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.368, allocations: 0 / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/1.368, allocations: 0 / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/1.368, allocations: 3.844 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009568/1.369, allocations: 0.5725 MB / 1.367 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/1.369, allocations: 272.4 kB / 1.367 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/1.369, allocations: 98.3 kB / 1.367 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/1.37, allocations: 18.75 kB / 1.367 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000284/1.37, allocations: 174.3 kB / 1.367 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/1.37, allocations: 3.875 kB / 1.367 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.000545/1.37, allocations: 257.4 kB / 1.367 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/1.37, allocations: 139.2 kB / 1.368 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/1.371, allocations: 255.4 kB / 1.368 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/1.371, allocations: 25.7 kB / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/1.371, allocations: 139.7 kB / 1.368 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.924e-05/1.371, allocations: 108.9 kB / 1.368 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/1.371, allocations: 4 kB / 1.368 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.371, allocations: 339 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/1.371, allocations: 70.36 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/1.371, allocations: 121.8 kB / 1.369 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/1.372, allocations: 98.77 kB / 1.369 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.372, allocations: 2.719 kB / 1.369 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003544/1.372, allocations: 254 kB / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.372, allocations: 11.11 kB / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.372, allocations: 0 / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.372, allocations: 3.875 kB / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/1.372, allocations: 61.7 kB / 1.369 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.372, allocations: 7.797 kB / 1.369 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/1.372, allocations: 26.17 kB / 1.369 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/1.372, allocations: 11.19 kB / 1.369 GB, free: 31.4 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 0.0001091/1.373, allocations: 119.7 kB / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/1.373, allocations: 27.09 kB / 1.369 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005882/1.373, allocations: 363 kB / 1.37 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.373, allocations: 6.234 kB / 1.37 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.373, allocations: 3.938 kB / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.373, allocations: 3.953 kB / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/1.374, allocations: 302.8 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.374, allocations: 0 / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/1.374, allocations: 61.67 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/1.374, allocations: 3.719 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/1.374, allocations: 10.72 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.374, allocations: 3.938 kB / 1.37 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.374, allocations: 0 / 1.37 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/1.374, allocations: 306.8 kB / 1.37 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/1.374, allocations: 156.1 kB / 1.37 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/1.375, allocations: 3.625 kB / 1.37 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/1.375, allocations: 26.12 kB / 1.37 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/1.375, allocations: 21.17 kB / 1.37 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/1.375, allocations: 15.66 kB / 1.37 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001847/1.375, allocations: 210.7 kB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.375, allocations: 3.938 kB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003323/1.375, allocations: 71.55 kB / 1.371 GB, free: 30.72 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.0008543/1.376, allocations: 352.3 kB / 1.371 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003006/1.377, allocations: 204.3 kB / 1.371 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.377, allocations: 3 kB / 1.371 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/1.377, allocations: 123 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/1.377, allocations: 35.7 kB / 1.371 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/1.378, allocations: 397.2 kB / 1.372 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/1.378, allocations: 0.7744 MB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003309/1.378, allocations: 149.9 kB / 1.373 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/1.378, allocations: 43.62 kB / 1.373 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of SimCode: time 1.052e-06/1.378, allocations: 0 / 1.373 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of Templates: time 0.006616/1.385, allocations: 3.149 MB / 1.376 GB, free: 29.31 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