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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001205, allocations: 97.91 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.606/2.606, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 8 kB / 0.8707 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6455, allocations: 153.7 MB / 1.021 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008612/0.6542, allocations: 5.619 MB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1553/0.8095, allocations: 129.9 MB / 1.153 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.8111, allocations: 27.81 kB / 1.153 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008445/0.8119, allocations: 142.7 kB / 1.153 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.8149, allocations: 0.7496 MB / 1.154 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.8184, allocations: 1.034 MB / 1.155 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.8218, allocations: 1.601 MB / 1.157 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.8233, allocations: 0.7741 MB / 1.157 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.8247, allocations: 0.6264 MB / 1.158 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.8259, allocations: 0.6296 MB / 1.159 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004142/0.8263, allocations: 52 kB / 1.159 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.8286, allocations: 0.7216 MB / 1.159 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007139/0.8293, allocations: 342.6 kB / 1.16 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000799/0.8301, allocations: 340.7 kB / 1.16 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.8337, allocations: 2.155 MB / 1.162 GB, free: 15.98 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8337, allocations: 0 / 1.162 GB, free: 15.98 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8337, allocations: 0 / 1.162 GB, free: 15.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001144/0.8338, allocations: 0 / 1.162 GB, free: 15.98 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.005412/0.8393, allocations: 1.996 MB / 1.164 GB, free: 13.92 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.8393, allocations: 11.98 kB / 1.164 GB, free: 13.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.8418, allocations: 393.1 kB / 1.164 GB, free: 13.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003365/0.8452, allocations: 1.222 MB / 1.166 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.8454, allocations: 114.9 kB / 1.166 GB, free: 12.13 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004627/0.8458, allocations: 136 kB / 1.166 GB, free: 12 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/0.8501, allocations: 1.642 MB / 1.167 GB, free: 10.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.8501, allocations: 3.938 kB / 1.167 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002905/0.8504, allocations: 63.98 kB / 1.168 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.8505, allocations: 36 kB / 1.168 GB, free: 10.16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.8545, allocations: 2.15 MB / 1.17 GB, free: 8.012 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009669/0.8642, allocations: 4.816 MB / 1.174 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00345/0.8677, allocations: 1.622 MB / 1.176 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.8678, allocations: 53.23 kB / 1.176 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/0.8697, allocations: 0.9384 MB / 1.177 GB, free: 480 kB / 0.92 GB Notification: Performance of pre-optimization done (n=154): time 4.168e-06/0.8697, allocations: 4 kB / 1.177 GB, free: 476 kB / 0.92 GB Notification: Performance of matching and sorting (n=154): time 0.006821/0.8766, allocations: 2.387 MB / 1.179 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002668/0.8769, allocations: 359.4 kB / 1.18 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.8791, allocations: 1.147 MB / 1.181 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.8793, allocations: 61.7 kB / 1.181 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.88, allocations: 0.6582 MB / 1.181 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/0.8806, allocations: 0.4968 MB / 1.182 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/0.8807, allocations: 24 kB / 1.182 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002764/0.881, allocations: 357.9 kB / 1.182 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.882, allocations: 0.4997 MB / 1.183 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.8834, allocations: 0.7191 MB / 1.183 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.8847, allocations: 0.5762 MB / 1.184 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.8847, allocations: 3.953 kB / 1.184 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004203/0.889, allocations: 1.594 MB / 1.186 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.889, allocations: 8 kB / 1.186 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.889, allocations: 4 kB / 1.186 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.8902, allocations: 169.8 kB / 1.186 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.8916, allocations: 311.5 kB / 1.186 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00438/0.896, allocations: 3.09 MB / 1.189 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.8979, allocations: 202.6 kB / 1.189 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/0.8982, allocations: 59.95 kB / 1.189 GB, free: 3.23 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 167 * 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.001455/0.8997, allocations: 413.8 kB / 1.19 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005697/0.9002, allocations: 158 kB / 1.19 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005742/0.906, allocations: 2.2 MB / 1.192 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.9061, allocations: 20 kB / 1.192 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.9061, allocations: 0 / 1.192 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.9061, allocations: 11.95 kB / 1.192 GB, free: 420 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.9089, allocations: 1.64 MB / 1.194 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/0.909, allocations: 0 / 1.194 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.9102, allocations: 295.6 kB / 1.194 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.9113, allocations: 165.5 kB / 1.194 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/0.9115, allocations: 51.95 kB / 1.194 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004223/0.9158, allocations: 3.15 MB / 1.197 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9158, allocations: 0 / 1.197 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0053/0.9211, allocations: 1.843 MB / 1.199 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.9225, allocations: 494.3 kB / 1.199 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000499/0.9231, allocations: 47.92 kB / 1.2 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.9245, allocations: 161.2 kB / 1.2 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/0.9249, allocations: 141.8 kB / 1.2 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/0.9251, allocations: 71.94 kB / 1.2 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001286/0.9264, allocations: 0.7952 MB / 1.201 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9264, allocations: 0 / 1.201 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001477/0.9278, allocations: 0.5027 MB / 1.201 GB, free: 6.68 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001424/0.9293, allocations: 0.6461 MB / 1.202 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003361/0.9327, allocations: 1.606 MB / 1.203 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.9327, allocations: 0 / 1.203 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.9347, allocations: 1.051 MB / 1.204 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.937, allocations: 484.1 kB / 1.205 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008539/0.9455, allocations: 3.997 MB / 1.209 GB, free: 15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.9467, allocations: 1.376 MB / 1.21 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002044/0.9488, allocations: 0.5165 MB / 1.211 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/0.9494, allocations: 195.3 kB / 1.211 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/0.9494, allocations: 3.938 kB / 1.211 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of Templates: time 0.04588/0.9953, allocations: 25.64 MB / 1.236 GB, free: 3.531 MB / 0.9825 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