Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.343/2.343, 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.001007/0.001007, allocations: 184.8 kB / 491.2 MB, free: 1.57 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.649/1.649, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001159/0.001159, allocations: 99.52 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.953e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3348, allocations: 143 MB / 1.212 GB, free: 39.61 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.307/5.642, allocations: 1.731 GB / 2.943 GB, free: 108.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/5.642, allocations: 89.3 kB / 2.943 GB, free: 108.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1296/5.772, allocations: 58.67 MB / 3.001 GB, free: 54.72 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.385e-06/5.772, allocations: 0 / 3.001 GB, free: 54.72 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001321/5.772, allocations: 27.94 kB / 3.001 GB, free: 54.69 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002745/5.775, allocations: 1.117 MB / 3.002 GB, free: 53.52 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/5.775, allocations: 12.02 kB / 3.002 GB, free: 53.51 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/5.776, allocations: 210.5 kB / 3.002 GB, free: 53.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/5.778, allocations: 0.5959 MB / 3.003 GB, free: 52.67 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/5.778, allocations: 24 kB / 3.003 GB, free: 52.64 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/5.778, allocations: 40 kB / 3.003 GB, free: 52.61 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001486/5.78, allocations: 0.964 MB / 3.004 GB, free: 51.64 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/5.781, allocations: 0.6928 MB / 3.004 GB, free: 50.91 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/5.781, allocations: 4 kB / 3.004 GB, free: 50.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-05/5.781, allocations: 4 kB / 3.004 GB, free: 50.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/5.781, allocations: 16 kB / 3.004 GB, free: 50.88 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/5.785, allocations: 2.268 MB / 3.006 GB, free: 48.55 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008636/5.786, allocations: 0.6499 MB / 3.007 GB, free: 47.89 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/5.786, allocations: 259.1 kB / 3.007 GB, free: 47.63 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-05/5.786, allocations: 32.8 kB / 3.007 GB, free: 47.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006745/5.787, allocations: 412.8 kB / 3.008 GB, free: 47.18 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 3.537e-06/5.787, allocations: 0 / 3.008 GB, free: 47.18 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001946/5.789, allocations: 0.6914 MB / 3.008 GB, free: 46.48 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/5.789, allocations: 240.1 kB / 3.009 GB, free: 46.19 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/5.79, allocations: 0.5063 MB / 3.009 GB, free: 45.68 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/5.79, allocations: 29.7 kB / 3.009 GB, free: 45.64 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/5.79, allocations: 356.3 kB / 3.01 GB, free: 45.29 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/5.79, allocations: 232.6 kB / 3.01 GB, free: 45.06 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/5.79, allocations: 3.938 kB / 3.01 GB, free: 45.05 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001009/5.79, allocations: 378.7 kB / 3.01 GB, free: 44.68 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/5.79, allocations: 201.5 kB / 3.01 GB, free: 44.48 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/5.791, allocations: 308.4 kB / 3.011 GB, free: 44.14 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/5.791, allocations: 260.5 kB / 3.011 GB, free: 43.89 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/5.791, allocations: 3.938 kB / 3.011 GB, free: 43.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001373/5.793, allocations: 0.6914 MB / 3.012 GB, free: 43.18 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/5.793, allocations: 8 kB / 3.012 GB, free: 43.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/5.793, allocations: 0 / 3.012 GB, free: 43.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005568/5.793, allocations: 84.86 kB / 3.012 GB, free: 43.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/5.794, allocations: 147.8 kB / 3.012 GB, free: 42.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/5.795, allocations: 1.477 MB / 3.013 GB, free: 41.35 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/5.796, allocations: 67.52 kB / 3.013 GB, free: 41.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/5.796, allocations: 31.97 kB / 3.013 GB, free: 41.25 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($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 (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001975/5.796, allocations: 122.1 kB / 3.013 GB, free: 41.12 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/5.796, allocations: 75.06 kB / 3.013 GB, free: 41.05 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/5.798, allocations: 1.004 MB / 3.014 GB, free: 40.03 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/5.798, allocations: 8 kB / 3.014 GB, free: 40.02 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/5.798, allocations: 0 / 3.014 GB, free: 40.02 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/5.798, allocations: 3.984 kB / 3.014 GB, free: 40.02 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008197/5.799, allocations: 0.7592 MB / 3.015 GB, free: 39.22 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/5.799, allocations: 0 / 3.015 GB, free: 39.22 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/5.8, allocations: 155.8 kB / 3.015 GB, free: 39.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/5.8, allocations: 84.77 kB / 3.015 GB, free: 38.98 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/5.8, allocations: 15.98 kB / 3.015 GB, free: 38.97 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/5.802, allocations: 1.492 MB / 3.017 GB, free: 37.36 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/5.802, allocations: 3.984 kB / 3.017 GB, free: 37.35 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/5.803, allocations: 0.7972 MB / 3.018 GB, free: 36.53 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/5.803, allocations: 287.8 kB / 3.018 GB, free: 36.23 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/5.804, allocations: 3.938 kB / 3.018 GB, free: 36.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/5.804, allocations: 63.95 kB / 3.018 GB, free: 36.16 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/5.804, allocations: 68.69 kB / 3.018 GB, free: 36.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/5.804, allocations: 35.97 kB / 3.018 GB, free: 36.06 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004313/5.805, allocations: 419.2 kB / 3.019 GB, free: 35.65 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.805, allocations: 0 / 3.019 GB, free: 35.65 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001101/5.806, allocations: 347.2 kB / 3.019 GB, free: 35.31 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001897/5.808, allocations: 1.094 MB / 3.02 GB, free: 34.31 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001164/5.809, allocations: 0.6709 MB / 3.021 GB, free: 33.63 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/5.809, allocations: 0 / 3.021 GB, free: 33.63 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006028/5.81, allocations: 464.4 kB / 3.021 GB, free: 33.17 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/5.811, allocations: 217.8 kB / 3.021 GB, free: 32.96 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/5.814, allocations: 1.274 MB / 3.023 GB, free: 31.66 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/5.814, allocations: 1.011 MB / 3.023 GB, free: 30.62 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000863/5.815, allocations: 265.9 kB / 3.024 GB, free: 30.36 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/5.815, allocations: 107.4 kB / 3.024 GB, free: 30.25 MB / 1.151 GB Notification: Performance of SimCode: time 1.533e-06/5.815, allocations: 0 / 3.024 GB, free: 30.25 MB / 1.151 GB Notification: Performance of Templates: time 0.02472/5.84, allocations: 16.13 MB / 3.04 GB, free: 14.24 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches