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.446/2.446, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.00101/0.00101, allocations: 184.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.0009765/0.0009766, allocations: 99.08 kB / 0.9318 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.379e-05, allocations: 2.969 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.123/5.451, allocations: 1.731 GB / 2.95 GB, free: 104.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/5.452, allocations: 88.77 kB / 2.95 GB, free: 104.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1998/5.652, allocations: 91.6 MB / 3.04 GB, free: 12.19 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.733e-06/5.652, allocations: 0 / 3.04 GB, free: 12.19 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001451/5.652, allocations: 47.94 kB / 3.04 GB, free: 12.14 MB / 1.167 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.00322/5.655, allocations: 1.669 MB / 3.041 GB, free: 10.41 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/5.655, allocations: 8.031 kB / 3.041 GB, free: 10.41 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/5.657, allocations: 373.3 kB / 3.042 GB, free: 10.04 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/5.659, allocations: 1.015 MB / 3.043 GB, free: 8.969 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/5.659, allocations: 98.69 kB / 3.043 GB, free: 8.871 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/5.659, allocations: 132 kB / 3.043 GB, free: 8.742 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/5.661, allocations: 1.462 MB / 3.044 GB, free: 7.188 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/5.661, allocations: 0 / 3.044 GB, free: 7.188 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/5.661, allocations: 64 kB / 3.044 GB, free: 7.125 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/5.661, allocations: 32 kB / 3.044 GB, free: 7.094 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/5.664, allocations: 1.95 MB / 3.046 GB, free: 5.145 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006414/5.67, allocations: 4.499 MB / 3.051 GB, free: 0.5547 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6082/6.279, allocations: 1.351 MB / 3.052 GB, free: 385 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008912/6.279, allocations: 0.4919 MB / 3.052 GB, free: 385 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/6.28, allocations: 64 kB / 3.053 GB, free: 385 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/6.281, allocations: 0.7507 MB / 3.053 GB, free: 384.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=136): time 3.647e-06/6.281, allocations: 0 / 3.053 GB, free: 384.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=136): time 0.003657/6.285, allocations: 1.305 MB / 3.055 GB, free: 384.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/6.285, allocations: 461.8 kB / 3.055 GB, free: 384.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/6.287, allocations: 1.063 MB / 3.056 GB, free: 384.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/6.287, allocations: 51.8 kB / 3.056 GB, free: 384.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/6.287, allocations: 0.613 MB / 3.057 GB, free: 383.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/6.288, allocations: 445.3 kB / 3.057 GB, free: 383.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/6.288, allocations: 23.44 kB / 3.057 GB, free: 383.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/6.288, allocations: 354.3 kB / 3.057 GB, free: 383.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006631/6.289, allocations: 389.8 kB / 3.058 GB, free: 383.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/6.289, allocations: 0.6133 MB / 3.058 GB, free: 383.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007952/6.29, allocations: 490.8 kB / 3.059 GB, free: 383.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/6.29, allocations: 4.719 kB / 3.059 GB, free: 383.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003094/6.293, allocations: 1.336 MB / 3.06 GB, free: 383 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/6.293, allocations: 7.344 kB / 3.06 GB, free: 383 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/6.293, allocations: 3.188 kB / 3.06 GB, free: 383 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/6.294, allocations: 165.8 kB / 3.06 GB, free: 383 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/6.296, allocations: 275.6 kB / 3.061 GB, free: 383 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/6.299, allocations: 3.051 MB / 3.064 GB, free: 380.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/6.3, allocations: 165.2 kB / 3.064 GB, free: 380.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/6.3, allocations: 57.83 kB / 3.064 GB, free: 380.4 MB / 1.167 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.0002428/6.3, allocations: 183 kB / 3.064 GB, free: 380.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/6.3, allocations: 153.2 kB / 3.064 GB, free: 380.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/6.305, allocations: 1.903 MB / 3.066 GB, free: 380.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/6.305, allocations: 23 kB / 3.066 GB, free: 380.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/6.305, allocations: 1 kB / 3.066 GB, free: 380.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/6.305, allocations: 9.328 kB / 3.066 GB, free: 380.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/6.307, allocations: 1.516 MB / 3.067 GB, free: 379.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/6.307, allocations: 5.094 kB / 3.068 GB, free: 379.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/6.308, allocations: 281.8 kB / 3.068 GB, free: 379.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009148/6.309, allocations: 171 kB / 3.068 GB, free: 379.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.2e-05/6.309, allocations: 45.2 kB / 3.068 GB, free: 379.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/6.312, allocations: 3.111 MB / 3.071 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/6.312, allocations: 0 / 3.071 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/6.315, allocations: 1.551 MB / 3.073 GB, free: 377 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007869/6.316, allocations: 489.4 kB / 3.073 GB, free: 376.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/6.316, allocations: 35.94 kB / 3.073 GB, free: 376.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/6.317, allocations: 135.2 kB / 3.073 GB, free: 376.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/6.317, allocations: 120.7 kB / 3.073 GB, free: 376.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/6.317, allocations: 59.27 kB / 3.073 GB, free: 376.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001394/6.319, allocations: 0.8371 MB / 3.074 GB, free: 376.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.91e-07/6.319, allocations: 0.9688 kB / 3.074 GB, free: 376.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002429/6.321, allocations: 0.5353 MB / 3.075 GB, free: 376.7 MB / 1.167 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.002502/6.324, allocations: 1.12 MB / 3.076 GB, free: 376.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002709/6.326, allocations: 1.35 MB / 3.077 GB, free: 376.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/6.326, allocations: 1.094 kB / 3.077 GB, free: 376.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/6.328, allocations: 0.9081 MB / 3.078 GB, free: 376.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/6.331, allocations: 474.2 kB / 3.078 GB, free: 376.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00924/6.34, allocations: 2.531 MB / 3.081 GB, free: 375.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/6.342, allocations: 1.323 MB / 3.082 GB, free: 374.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002502/6.344, allocations: 0.5 MB / 3.083 GB, free: 374.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/6.345, allocations: 180.5 kB / 3.083 GB, free: 374.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.533e-06/6.345, allocations: 0 / 3.083 GB, free: 374.7 MB / 1.167 GB Notification: Performance of Templates: time 0.06172/6.407, allocations: 33.96 MB / 3.116 GB, free: 372.6 MB / 1.167 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