Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 387.1 MB / 399.7 MB, free: 9.531 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.001071/0.001071, allocations: 184.3 kB / 492.3 MB, free: 0.6094 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.54/1.54, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.000948/0.000948, allocations: 91.39 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.587e-05/4.602e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3262, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.002/5.329, allocations: 1.731 GB / 2.943 GB, free: 134.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/5.329, allocations: 83.95 kB / 2.943 GB, free: 134.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.19/5.519, allocations: 91.6 MB / 3.032 GB, free: 42.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.062e-06/5.519, allocations: 0 / 3.032 GB, free: 42.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001097/5.519, allocations: 47.94 kB / 3.032 GB, free: 42.45 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.002375/5.522, allocations: 1.661 MB / 3.034 GB, free: 40.73 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/5.522, allocations: 12.03 kB / 3.034 GB, free: 40.72 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/5.523, allocations: 377.2 kB / 3.034 GB, free: 40.35 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/5.525, allocations: 1.007 MB / 3.035 GB, free: 39.29 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/5.525, allocations: 94.69 kB / 3.036 GB, free: 39.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/5.525, allocations: 136 kB / 3.036 GB, free: 39.06 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/5.527, allocations: 1.461 MB / 3.037 GB, free: 37.51 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/5.527, allocations: 7.922 kB / 3.037 GB, free: 37.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/5.527, allocations: 63.95 kB / 3.037 GB, free: 37.44 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/5.527, allocations: 32 kB / 3.037 GB, free: 37.41 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/5.529, allocations: 1.954 MB / 3.039 GB, free: 35.45 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005972/5.535, allocations: 4.514 MB / 3.044 GB, free: 30.84 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/5.537, allocations: 1.347 MB / 3.045 GB, free: 29.48 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006069/5.538, allocations: 0.4893 MB / 3.045 GB, free: 28.98 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/5.538, allocations: 61.19 kB / 3.045 GB, free: 28.92 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009764/5.539, allocations: 0.7571 MB / 3.046 GB, free: 28.14 MB / 1.151 GB Notification: Performance of pre-optimization done (n=136): time 4.238e-06/5.539, allocations: 0 / 3.046 GB, free: 28.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=136): time 0.002721/5.541, allocations: 1.303 MB / 3.047 GB, free: 26.82 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/5.542, allocations: 462.1 kB / 3.048 GB, free: 26.27 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/5.543, allocations: 1.059 MB / 3.049 GB, free: 25.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/5.543, allocations: 53.7 kB / 3.049 GB, free: 25.14 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/5.543, allocations: 0.6187 MB / 3.05 GB, free: 24.52 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/5.544, allocations: 445.5 kB / 3.05 GB, free: 24.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/5.544, allocations: 24 kB / 3.05 GB, free: 24.05 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/5.544, allocations: 353.9 kB / 3.05 GB, free: 23.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/5.544, allocations: 390.5 kB / 3.051 GB, free: 23.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/5.545, allocations: 0.6119 MB / 3.051 GB, free: 22.63 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/5.546, allocations: 490.1 kB / 3.052 GB, free: 22.15 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/5.546, allocations: 0 / 3.052 GB, free: 22.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002608/5.548, allocations: 1.337 MB / 3.053 GB, free: 20.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/5.548, allocations: 4 kB / 3.053 GB, free: 20.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/5.548, allocations: 4 kB / 3.053 GB, free: 20.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/5.549, allocations: 169.8 kB / 3.053 GB, free: 20.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/5.55, allocations: 271.6 kB / 3.053 GB, free: 20.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/5.553, allocations: 3.062 MB / 3.056 GB, free: 17.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/5.555, allocations: 162.9 kB / 3.057 GB, free: 16.86 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/5.555, allocations: 51.97 kB / 3.057 GB, free: 16.81 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.0002662/5.555, allocations: 181 kB / 3.057 GB, free: 16.62 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/5.555, allocations: 150.1 kB / 3.057 GB, free: 16.48 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/5.559, allocations: 1.907 MB / 3.059 GB, free: 14.55 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/5.559, allocations: 16 kB / 3.059 GB, free: 14.54 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/5.559, allocations: 0 / 3.059 GB, free: 14.54 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/5.559, allocations: 7.969 kB / 3.059 GB, free: 14.53 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/5.561, allocations: 1.525 MB / 3.06 GB, free: 12.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/5.561, allocations: 0 / 3.06 GB, free: 12.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009808/5.562, allocations: 287.6 kB / 3.061 GB, free: 12.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008781/5.563, allocations: 161.5 kB / 3.061 GB, free: 12.51 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.601e-05/5.563, allocations: 43.97 kB / 3.061 GB, free: 12.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/5.566, allocations: 3.127 MB / 3.064 GB, free: 9.062 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/5.566, allocations: 0 / 3.064 GB, free: 9.062 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/5.568, allocations: 1.551 MB / 3.065 GB, free: 7.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/5.569, allocations: 482.5 kB / 3.066 GB, free: 6.988 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/5.569, allocations: 39.98 kB / 3.066 GB, free: 6.949 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009541/5.57, allocations: 127.9 kB / 3.066 GB, free: 6.824 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/5.57, allocations: 113.4 kB / 3.066 GB, free: 6.711 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.312e-05/5.57, allocations: 59.97 kB / 3.066 GB, free: 6.652 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009131/5.571, allocations: 0.8452 MB / 3.067 GB, free: 5.801 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.72e-07/5.571, allocations: 0 / 3.067 GB, free: 5.801 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001353/5.572, allocations: 0.5495 MB / 3.068 GB, free: 5.25 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.001625/5.574, allocations: 1.107 MB / 3.069 GB, free: 4.293 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001944/5.576, allocations: 1.355 MB / 3.07 GB, free: 2.914 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/5.576, allocations: 0 / 3.07 GB, free: 2.914 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/5.577, allocations: 0.9082 MB / 3.071 GB, free: 1.98 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/5.579, allocations: 474 kB / 3.071 GB, free: 1.523 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6189/6.198, allocations: 2.531 MB / 3.074 GB, free: 373.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009915/6.199, allocations: 1.319 MB / 3.075 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002025/6.201, allocations: 0.5011 MB / 3.076 GB, free: 372.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/6.202, allocations: 180.4 kB / 3.076 GB, free: 372.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.312e-06/6.202, allocations: 4.281 kB / 3.076 GB, free: 372.6 MB / 1.151 GB Notification: Performance of Templates: time 0.06687/6.268, allocations: 33.96 MB / 3.109 GB, free: 370.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches