Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 185.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 0.5775 GB, free: 20.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 88.89 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 10.22 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3001, allocations: 106.3 MB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.635/6.935, allocations: 2.19 GB / 3.09 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/6.936, allocations: 90.42 kB / 3.09 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2171/7.153, allocations: 92.45 MB / 3.18 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.715e-06/7.153, allocations: 0 / 3.18 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002355/7.153, allocations: 42.78 kB / 3.18 GB, free: 227.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.005833/7.159, allocations: 1.855 MB / 3.182 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/7.159, allocations: 11.69 kB / 3.182 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/7.162, allocations: 368.8 kB / 3.182 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/7.164, allocations: 1.019 MB / 3.183 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/7.165, allocations: 97.67 kB / 3.183 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00039/7.165, allocations: 124.5 kB / 3.184 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/7.168, allocations: 1.496 MB / 3.185 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/7.168, allocations: 3.938 kB / 3.185 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/7.168, allocations: 67.84 kB / 3.185 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/7.168, allocations: 31.25 kB / 3.185 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002888/7.171, allocations: 2.048 MB / 3.187 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006966/7.178, allocations: 4.46 MB / 3.191 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/7.181, allocations: 1.445 MB / 3.193 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/7.181, allocations: 59.61 kB / 3.193 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/7.182, allocations: 0.7975 MB / 3.194 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=136): time 3.627e-06/7.182, allocations: 7.875 kB / 3.194 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136): time 0.005743/7.188, allocations: 2.143 MB / 3.196 GB, free: 221 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/7.188, allocations: 470.3 kB / 3.196 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/7.19, allocations: 1.045 MB / 3.197 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/7.19, allocations: 59.45 kB / 3.197 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/7.191, allocations: 0.5999 MB / 3.198 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/7.191, allocations: 452.9 kB / 3.198 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/7.191, allocations: 22.47 kB / 3.198 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/7.191, allocations: 356.3 kB / 3.199 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008435/7.192, allocations: 442.6 kB / 3.199 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009762/7.193, allocations: 0.6558 MB / 3.2 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009646/7.194, allocations: 0.5175 MB / 3.2 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/7.194, allocations: 3.188 kB / 3.2 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003464/7.197, allocations: 1.428 MB / 3.202 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/7.197, allocations: 7.406 kB / 3.202 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/7.197, allocations: 0 / 3.202 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/7.199, allocations: 165.5 kB / 3.202 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/7.2, allocations: 277.5 kB / 3.202 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/7.203, allocations: 3.086 MB / 3.205 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/7.205, allocations: 162 kB / 3.205 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/7.205, allocations: 52.66 kB / 3.205 GB, free: 215.5 MB / 0.8855 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 () * Number of clocked 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.001114/7.206, allocations: 382.1 kB / 3.206 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/7.206, allocations: 144.5 kB / 3.206 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/7.211, allocations: 2.019 MB / 3.208 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/7.211, allocations: 15.62 kB / 3.208 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/7.211, allocations: 0 / 3.208 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/7.211, allocations: 7.969 kB / 3.208 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/7.214, allocations: 1.514 MB / 3.209 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/7.214, allocations: 7.734 kB / 3.209 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/7.215, allocations: 286 kB / 3.21 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/7.216, allocations: 167.3 kB / 3.21 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/7.216, allocations: 47.5 kB / 3.21 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/7.22, allocations: 3.133 MB / 3.213 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/7.22, allocations: 0 / 3.213 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003729/7.223, allocations: 1.654 MB / 3.214 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/7.225, allocations: 490 kB / 3.215 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/7.225, allocations: 35.69 kB / 3.215 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/7.226, allocations: 128.6 kB / 3.215 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/7.227, allocations: 124 kB / 3.215 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/7.227, allocations: 62.73 kB / 3.215 GB, free: 209 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001518/7.228, allocations: 0.8326 MB / 3.216 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.81e-07/7.228, allocations: 0 / 3.216 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002171/7.23, allocations: 0.5186 MB / 3.217 GB, free: 208.4 MB / 0.8855 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) * Number of clocked states: 0 () * 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.002457/7.233, allocations: 1.104 MB / 3.218 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003115/7.236, allocations: 1.464 MB / 3.219 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/7.236, allocations: 0 / 3.219 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/7.238, allocations: 0.9614 MB / 3.22 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/7.24, allocations: 476 kB / 3.22 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008314/7.249, allocations: 3.743 MB / 3.224 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/7.25, allocations: 1.316 MB / 3.225 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002366/7.252, allocations: 0.5033 MB / 3.226 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000691/7.253, allocations: 179.3 kB / 3.226 GB, free: 199 MB / 0.8855 GB Notification: Performance of SimCode: time 1.252e-06/7.253, allocations: 3.938 kB / 3.226 GB, free: 199 MB / 0.8855 GB Notification: Performance of Templates: time 0.04742/7.3, allocations: 31.77 MB / 3.257 GB, free: 167.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches