Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.TDewPoi|weaDat.weaBus.HGloHor|weaDat.weaBus.HDifHor|weaDat.weaBus.HDirNor|weaDatInpCon.weaBus.HGloHor|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.TDewPoi|weaDat.weaBus.HGloHor|weaDat.weaBus.HDifHor|weaDat.weaBus.HDirNor|weaDatInpCon.weaBus.HGloHor|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.273/2.273, allocations: 390.5 MB / 398 MB, free: 10.95 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.001257/0.001257, allocations: 182.8 kB / 491.2 MB, free: 1.555 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.617/1.617, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.001196/0.001196, allocations: 91.58 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.372e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3412, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.21/5.551, allocations: 1.731 GB / 2.943 GB, free: 108 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/5.551, allocations: 86.58 kB / 2.943 GB, free: 108 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1901/5.742, allocations: 90.46 MB / 3.031 GB, free: 22.62 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.204e-06/5.742, allocations: 4 kB / 3.031 GB, free: 22.62 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001149/5.742, allocations: 43.94 kB / 3.031 GB, free: 22.58 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.002804/5.744, allocations: 1.665 MB / 3.033 GB, free: 20.86 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/5.745, allocations: 8.031 kB / 3.033 GB, free: 20.85 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/5.746, allocations: 369.3 kB / 3.033 GB, free: 20.48 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/5.748, allocations: 1.015 MB / 3.034 GB, free: 19.41 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/5.748, allocations: 44 kB / 3.034 GB, free: 19.37 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/5.748, allocations: 76 kB / 3.034 GB, free: 19.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00224/5.75, allocations: 1.871 MB / 3.036 GB, free: 17.42 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/5.752, allocations: 1.274 MB / 3.038 GB, free: 16.05 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/5.752, allocations: 4 kB / 3.038 GB, free: 16.05 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/5.752, allocations: 0 / 3.038 GB, free: 16.05 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/5.752, allocations: 36 kB / 3.038 GB, free: 16.02 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006023/5.758, allocations: 4.248 MB / 3.042 GB, free: 11.69 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/5.76, allocations: 1.273 MB / 3.043 GB, free: 10.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/5.76, allocations: 472.9 kB / 3.043 GB, free: 9.93 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/5.761, allocations: 57.19 kB / 3.044 GB, free: 9.871 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/5.762, allocations: 0.7115 MB / 3.044 GB, free: 9.137 MB / 1.151 GB Notification: Performance of pre-optimization done (n=136): time 3.556e-06/5.762, allocations: 0 / 3.044 GB, free: 9.137 MB / 1.151 GB Notification: Performance of matching and sorting (n=136): time 0.003077/5.765, allocations: 1.248 MB / 3.045 GB, free: 7.879 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/5.765, allocations: 454.1 kB / 3.046 GB, free: 7.332 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/5.766, allocations: 0.903 MB / 3.047 GB, free: 6.414 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/5.766, allocations: 29.7 kB / 3.047 GB, free: 6.379 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/5.767, allocations: 0.6256 MB / 3.047 GB, free: 5.742 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/5.767, allocations: 433.5 kB / 3.048 GB, free: 5.312 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/5.767, allocations: 0 / 3.048 GB, free: 5.312 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001045/5.767, allocations: 353.9 kB / 3.048 GB, free: 4.961 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/5.768, allocations: 366.5 kB / 3.048 GB, free: 4.602 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/5.768, allocations: 0.5775 MB / 3.049 GB, free: 3.953 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007146/5.769, allocations: 478.5 kB / 3.049 GB, free: 3.484 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/5.769, allocations: 4 kB / 3.049 GB, free: 3.48 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002476/5.772, allocations: 1.255 MB / 3.051 GB, free: 2.207 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/5.772, allocations: 8 kB / 3.051 GB, free: 2.199 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/5.772, allocations: 0 / 3.051 GB, free: 2.199 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009967/5.773, allocations: 169.7 kB / 3.051 GB, free: 2.027 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/5.774, allocations: 275.6 kB / 3.051 GB, free: 1.758 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.686/6.46, allocations: 2.933 MB / 3.054 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/6.461, allocations: 126.2 kB / 3.054 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/6.461, allocations: 53.52 kB / 3.054 GB, free: 375 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003377/6.462, allocations: 126.8 kB / 3.054 GB, free: 374.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/6.462, allocations: 144.5 kB / 3.054 GB, free: 374.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004453/6.466, allocations: 1.803 MB / 3.056 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/6.466, allocations: 19.41 kB / 3.056 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/6.466, allocations: 0.6562 kB / 3.056 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/6.466, allocations: 8.375 kB / 3.056 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/6.469, allocations: 1.311 MB / 3.058 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/6.469, allocations: 0.6094 kB / 3.058 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/6.47, allocations: 284.1 kB / 3.058 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009746/6.471, allocations: 167.8 kB / 3.058 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/6.471, allocations: 29.33 kB / 3.058 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/6.474, allocations: 2.979 MB / 3.061 GB, free: 372.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/6.474, allocations: 8.562 kB / 3.061 GB, free: 372.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003986/6.478, allocations: 1.475 MB / 3.062 GB, free: 371.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007901/6.479, allocations: 475.2 kB / 3.063 GB, free: 371.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/6.479, allocations: 3.453 kB / 3.063 GB, free: 371.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/6.48, allocations: 105.4 kB / 3.063 GB, free: 371.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/6.48, allocations: 116.8 kB / 3.063 GB, free: 371.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/6.48, allocations: 59.42 kB / 3.063 GB, free: 371.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001171/6.482, allocations: 0.705 MB / 3.064 GB, free: 371.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/6.482, allocations: 2.812 kB / 3.064 GB, free: 371.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00181/6.483, allocations: 0.496 MB / 3.064 GB, free: 371.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002353/6.486, allocations: 1.167 MB / 3.065 GB, free: 371.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002645/6.488, allocations: 1.274 MB / 3.067 GB, free: 371.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/6.488, allocations: 5.672 kB / 3.067 GB, free: 371.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/6.49, allocations: 0.8546 MB / 3.067 GB, free: 371 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/6.493, allocations: 427.1 kB / 3.068 GB, free: 371 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006767/6.5, allocations: 2.448 MB / 3.07 GB, free: 370.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/6.501, allocations: 1.321 MB / 3.072 GB, free: 369.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002123/6.503, allocations: 0.4951 MB / 3.072 GB, free: 369.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/6.503, allocations: 177.2 kB / 3.072 GB, free: 369.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.282e-06/6.503, allocations: 0 / 3.072 GB, free: 369.6 MB / 1.151 GB Notification: Performance of Templates: time 0.04993/6.553, allocations: 26.28 MB / 3.098 GB, free: 367.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches