Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.3 MB / 261.9 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 170.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008941/0.0008941, allocations: 92.16 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.859e-05/4.86e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2364, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.736/6.973, allocations: 2.19 GB / 3.082 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/6.973, allocations: 80.64 kB / 3.082 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1323/7.105, allocations: 59.05 MB / 3.139 GB, free: 84.08 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.994e-06/7.105, allocations: 0 / 3.139 GB, free: 84.08 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001027/7.105, allocations: 16 kB / 3.139 GB, free: 84.06 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002346/7.108, allocations: 1.081 MB / 3.141 GB, free: 82.93 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/7.108, allocations: 15.97 kB / 3.141 GB, free: 82.91 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/7.109, allocations: 202.6 kB / 3.141 GB, free: 82.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/7.11, allocations: 0.5998 MB / 3.141 GB, free: 82.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/7.11, allocations: 50 kB / 3.141 GB, free: 82.03 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/7.111, allocations: 67.94 kB / 3.141 GB, free: 81.96 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/7.112, allocations: 0.7788 MB / 3.142 GB, free: 81.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/7.112, allocations: 7.969 kB / 3.142 GB, free: 81.13 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/7.112, allocations: 31.95 kB / 3.142 GB, free: 81.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/7.112, allocations: 16 kB / 3.142 GB, free: 81.08 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/7.113, allocations: 1.003 MB / 3.143 GB, free: 80.08 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/7.117, allocations: 2.368 MB / 3.146 GB, free: 77.64 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/7.118, allocations: 0.6997 MB / 3.146 GB, free: 76.93 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/7.119, allocations: 271.2 kB / 3.146 GB, free: 76.66 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.203e-05/7.119, allocations: 36.8 kB / 3.147 GB, free: 76.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006404/7.119, allocations: 430.4 kB / 3.147 GB, free: 76.18 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.908e-06/7.12, allocations: 3.938 kB / 3.147 GB, free: 76.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.00173/7.121, allocations: 0.7148 MB / 3.148 GB, free: 75.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/7.121, allocations: 248.1 kB / 3.148 GB, free: 75.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007661/7.122, allocations: 0.5738 MB / 3.148 GB, free: 74.58 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-05/7.122, allocations: 41.7 kB / 3.148 GB, free: 74.53 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/7.122, allocations: 348.5 kB / 3.149 GB, free: 74.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/7.123, allocations: 248.4 kB / 3.149 GB, free: 73.94 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/7.123, allocations: 12 kB / 3.149 GB, free: 73.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000119/7.123, allocations: 382.8 kB / 3.149 GB, free: 73.54 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/7.123, allocations: 209.5 kB / 3.15 GB, free: 73.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/7.124, allocations: 326 kB / 3.15 GB, free: 72.99 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/7.124, allocations: 266 kB / 3.15 GB, free: 72.73 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/7.124, allocations: 0 / 3.15 GB, free: 72.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001441/7.125, allocations: 0.7188 MB / 3.151 GB, free: 72 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/7.125, allocations: 4 kB / 3.151 GB, free: 72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/7.125, allocations: 0 / 3.151 GB, free: 72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/7.126, allocations: 88.86 kB / 3.151 GB, free: 71.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/7.127, allocations: 151.8 kB / 3.151 GB, free: 71.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/7.128, allocations: 1.528 MB / 3.153 GB, free: 70.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/7.129, allocations: 95.39 kB / 3.153 GB, free: 70 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.465e-05/7.129, allocations: 31.97 kB / 3.153 GB, free: 69.96 MB / 0.8698 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.0002201/7.129, allocations: 145.3 kB / 3.153 GB, free: 69.82 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/7.13, allocations: 75.06 kB / 3.153 GB, free: 69.74 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/7.132, allocations: 1.043 MB / 3.154 GB, free: 68.68 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/7.132, allocations: 12 kB / 3.154 GB, free: 68.67 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/7.132, allocations: 0 / 3.154 GB, free: 68.67 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/7.132, allocations: 7.969 kB / 3.154 GB, free: 68.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/7.133, allocations: 0.8602 MB / 3.155 GB, free: 67.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/7.133, allocations: 7.938 kB / 3.155 GB, free: 67.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/7.134, allocations: 155.8 kB / 3.155 GB, free: 67.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/7.134, allocations: 88.77 kB / 3.155 GB, free: 67.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.788e-05/7.134, allocations: 19.98 kB / 3.155 GB, free: 67.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/7.136, allocations: 1.563 MB / 3.157 GB, free: 65.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/7.136, allocations: 3.984 kB / 3.157 GB, free: 65.78 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/7.137, allocations: 0.8286 MB / 3.157 GB, free: 64.92 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/7.138, allocations: 295.8 kB / 3.158 GB, free: 64.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/7.138, allocations: 19.95 kB / 3.158 GB, free: 64.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/7.139, allocations: 75.94 kB / 3.158 GB, free: 64.52 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/7.139, allocations: 64.62 kB / 3.158 GB, free: 64.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/7.139, allocations: 35.97 kB / 3.158 GB, free: 64.42 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005551/7.139, allocations: 471.1 kB / 3.158 GB, free: 63.97 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/7.139, allocations: 4 kB / 3.158 GB, free: 63.96 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001145/7.14, allocations: 339.3 kB / 3.159 GB, free: 63.63 MB / 0.8698 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.002057/7.143, allocations: 1.01 MB / 3.16 GB, free: 62.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001422/7.144, allocations: 0.706 MB / 3.16 GB, free: 61.98 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/7.144, allocations: 4 kB / 3.16 GB, free: 61.98 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007278/7.145, allocations: 486.9 kB / 3.161 GB, free: 61.49 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/7.146, allocations: 243 kB / 3.161 GB, free: 61.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/7.149, allocations: 1.328 MB / 3.162 GB, free: 59.89 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/7.15, allocations: 0.9998 MB / 3.163 GB, free: 58.87 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009224/7.151, allocations: 274.1 kB / 3.164 GB, free: 58.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/7.151, allocations: 99.38 kB / 3.164 GB, free: 58.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/7.151, allocations: 0 / 3.164 GB, free: 58.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.0313/7.182, allocations: 22.2 MB / 3.185 GB, free: 36.36 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches