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.284/2.284, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001067/0.001067, allocations: 176.9 kB / 487.4 MB, free: 5.027 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.548/1.548, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.0008962, allocations: 91.92 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.446e-05/1.448e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3496, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.07/5.42, allocations: 1.73 GB / 2.936 GB, free: 127.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/5.42, allocations: 85.39 kB / 2.936 GB, free: 127.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1991/5.619, allocations: 90.45 MB / 3.024 GB, free: 43.03 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553e-06/5.619, allocations: 0 / 3.024 GB, free: 43.03 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001545/5.62, allocations: 47.94 kB / 3.024 GB, free: 42.98 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.003437/5.623, allocations: 1.649 MB / 3.026 GB, free: 41.28 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/5.623, allocations: 12.03 kB / 3.026 GB, free: 41.27 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/5.625, allocations: 377.3 kB / 3.026 GB, free: 40.89 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/5.627, allocations: 1.015 MB / 3.027 GB, free: 39.82 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/5.628, allocations: 44 kB / 3.027 GB, free: 39.78 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/5.628, allocations: 76 kB / 3.027 GB, free: 39.71 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002789/5.631, allocations: 1.871 MB / 3.029 GB, free: 37.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/5.633, allocations: 1.28 MB / 3.03 GB, free: 36.46 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/5.633, allocations: 3.938 kB / 3.03 GB, free: 36.45 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/5.633, allocations: 4 kB / 3.03 GB, free: 36.45 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/5.633, allocations: 35.98 kB / 3.03 GB, free: 36.41 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006552/5.64, allocations: 4.252 MB / 3.035 GB, free: 32.09 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/5.641, allocations: 1.271 MB / 3.036 GB, free: 30.79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/5.642, allocations: 472.9 kB / 3.036 GB, free: 30.32 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/5.642, allocations: 57.19 kB / 3.036 GB, free: 30.27 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009708/5.643, allocations: 0.7076 MB / 3.037 GB, free: 29.54 MB / 1.151 GB Notification: Performance of pre-optimization done (n=136): time 4.048e-06/5.643, allocations: 0 / 3.037 GB, free: 29.54 MB / 1.151 GB Notification: Performance of matching and sorting (n=136): time 0.002928/5.646, allocations: 1.248 MB / 3.038 GB, free: 28.28 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.723e-05/5.646, allocations: 462.1 kB / 3.039 GB, free: 27.72 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/5.647, allocations: 0.8991 MB / 3.04 GB, free: 26.81 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/5.648, allocations: 29.7 kB / 3.04 GB, free: 26.77 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/5.648, allocations: 0.6295 MB / 3.04 GB, free: 26.13 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/5.648, allocations: 433.4 kB / 3.041 GB, free: 25.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/5.648, allocations: 0 / 3.041 GB, free: 25.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.142e-05/5.648, allocations: 349.9 kB / 3.041 GB, free: 25.36 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/5.649, allocations: 370.5 kB / 3.041 GB, free: 24.99 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/5.649, allocations: 0.5775 MB / 3.042 GB, free: 24.34 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/5.65, allocations: 482.5 kB / 3.042 GB, free: 23.87 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/5.65, allocations: 3.984 kB / 3.042 GB, free: 23.86 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002529/5.653, allocations: 1.255 MB / 3.044 GB, free: 22.59 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/5.653, allocations: 7.984 kB / 3.044 GB, free: 22.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/5.653, allocations: 4.219 kB / 3.044 GB, free: 22.58 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/5.654, allocations: 161.6 kB / 3.044 GB, free: 22.42 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/5.655, allocations: 275.6 kB / 3.044 GB, free: 22.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/5.658, allocations: 2.935 MB / 3.047 GB, free: 18.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/5.659, allocations: 123.1 kB / 3.047 GB, free: 18.85 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/5.659, allocations: 55.97 kB / 3.047 GB, free: 18.8 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.0002387/5.659, allocations: 149.2 kB / 3.047 GB, free: 18.65 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/5.659, allocations: 138.3 kB / 3.047 GB, free: 18.51 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/5.663, allocations: 1.805 MB / 3.049 GB, free: 16.68 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/5.663, allocations: 16 kB / 3.049 GB, free: 16.67 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/5.663, allocations: 4 kB / 3.049 GB, free: 16.66 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/5.663, allocations: 7.969 kB / 3.049 GB, free: 16.66 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/5.665, allocations: 1.316 MB / 3.05 GB, free: 15.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/5.665, allocations: 0 / 3.05 GB, free: 15.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009909/5.666, allocations: 287.5 kB / 3.051 GB, free: 15.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009038/5.667, allocations: 161.5 kB / 3.051 GB, free: 14.86 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.712e-05/5.667, allocations: 31.97 kB / 3.051 GB, free: 14.83 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/5.669, allocations: 2.989 MB / 3.054 GB, free: 11.59 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/5.669, allocations: 3.938 kB / 3.054 GB, free: 11.59 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/5.672, allocations: 1.477 MB / 3.055 GB, free: 10.08 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/5.673, allocations: 470.5 kB / 3.056 GB, free: 9.602 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/5.673, allocations: 8 kB / 3.056 GB, free: 9.594 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/5.674, allocations: 111.8 kB / 3.056 GB, free: 9.484 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/5.675, allocations: 113.4 kB / 3.056 GB, free: 9.375 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/5.675, allocations: 59.97 kB / 3.056 GB, free: 9.316 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000995/5.676, allocations: 0.7077 MB / 3.057 GB, free: 8.602 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/5.676, allocations: 0 / 3.057 GB, free: 8.602 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001732/5.677, allocations: 0.4986 MB / 3.057 GB, free: 8.102 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.00229/5.68, allocations: 1.149 MB / 3.058 GB, free: 7.059 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002236/5.682, allocations: 1.269 MB / 3.059 GB, free: 5.762 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/5.682, allocations: 4.438 kB / 3.059 GB, free: 5.758 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/5.683, allocations: 0.8565 MB / 3.06 GB, free: 4.883 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/5.686, allocations: 431.8 kB / 3.061 GB, free: 4.477 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006584/5.692, allocations: 2.441 MB / 3.063 GB, free: 2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008211/5.693, allocations: 1.329 MB / 3.064 GB, free: 0.6367 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001952/5.695, allocations: 498.9 kB / 3.065 GB, free: 148 kB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5743/6.269, allocations: 177.5 kB / 3.065 GB, free: 376.6 MB / 1.151 GB Notification: Performance of SimCode: time 9.52e-07/6.27, allocations: 0.8438 kB / 3.065 GB, free: 376.6 MB / 1.151 GB Notification: Performance of Templates: time 0.05945/6.329, allocations: 26.27 MB / 3.091 GB, free: 375.2 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