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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.743/2.743, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003676, allocations: 8 kB / 0.8707 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.836/0.8363, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004491/0.8409, allocations: 3.721 MB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1568/0.9977, allocations: 127.5 MB / 1.149 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006428/0.9984, allocations: 15.94 kB / 1.149 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.9987, allocations: 79.27 kB / 1.149 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/1, allocations: 497.5 kB / 1.15 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/1.002, allocations: 0.6302 MB / 1.15 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001027/1.003, allocations: 0.8371 MB / 1.151 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/1.003, allocations: 414.4 kB / 1.151 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/1.004, allocations: 338.7 kB / 1.152 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/1.004, allocations: 355.8 kB / 1.152 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.693e-05/1.004, allocations: 28 kB / 1.152 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/1.005, allocations: 0.6904 MB / 1.153 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/1.006, allocations: 179.2 kB / 1.153 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/1.006, allocations: 197.1 kB / 1.153 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/1.007, allocations: 1.282 MB / 1.154 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/1.007, allocations: 0 / 1.154 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.342e-06/1.007, allocations: 4 kB / 1.154 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.989e-06/1.007, allocations: 0 / 1.154 GB, free: 7.973 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002262/1.009, allocations: 1.255 MB / 1.156 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.009, allocations: 8.031 kB / 1.156 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/1.011, allocations: 218.5 kB / 1.156 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/1.012, allocations: 0.7156 MB / 1.156 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.531e-05/1.012, allocations: 54 kB / 1.157 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/1.012, allocations: 75.98 kB / 1.157 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/1.013, allocations: 0.8919 MB / 1.157 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.013, allocations: 3.938 kB / 1.157 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/1.013, allocations: 32 kB / 1.158 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/1.013, allocations: 20 kB / 1.158 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/1.015, allocations: 1.136 MB / 1.159 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/1.019, allocations: 2.542 MB / 1.161 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/1.021, allocations: 0.8353 MB / 1.162 GB, free: 15.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/1.021, allocations: 40.45 kB / 1.162 GB, free: 15.95 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000992/1.022, allocations: 0.5226 MB / 1.162 GB, free: 15.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 3.947e-06/1.022, allocations: 0 / 1.162 GB, free: 15.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.003394/1.025, allocations: 1.317 MB / 1.164 GB, free: 14.07 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/1.025, allocations: 188.6 kB / 1.164 GB, free: 13.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/1.026, allocations: 0.6333 MB / 1.165 GB, free: 13.2 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.935e-05/1.026, allocations: 45.7 kB / 1.165 GB, free: 13.14 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/1.027, allocations: 384.4 kB / 1.165 GB, free: 12.76 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/1.027, allocations: 264.2 kB / 1.165 GB, free: 12.5 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/1.027, allocations: 16 kB / 1.165 GB, free: 12.48 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.027, allocations: 382.8 kB / 1.166 GB, free: 12.1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006341/1.028, allocations: 285.8 kB / 1.166 GB, free: 11.82 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007115/1.028, allocations: 403.3 kB / 1.166 GB, free: 11.4 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/1.029, allocations: 322.9 kB / 1.167 GB, free: 11.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.029, allocations: 0 / 1.167 GB, free: 11.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002053/1.031, allocations: 0.8838 MB / 1.167 GB, free: 10.19 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.031, allocations: 8 kB / 1.167 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.031, allocations: 0 / 1.167 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/1.032, allocations: 88.89 kB / 1.168 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/1.032, allocations: 167.7 kB / 1.168 GB, free: 9.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/1.034, allocations: 1.547 MB / 1.169 GB, free: 8.238 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/1.035, allocations: 111.3 kB / 1.169 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/1.035, allocations: 35.97 kB / 1.169 GB, free: 8.094 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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.000444/1.036, allocations: 259.8 kB / 1.17 GB, free: 7.828 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/1.036, allocations: 90.92 kB / 1.17 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/1.039, allocations: 1.222 MB / 1.171 GB, free: 6.508 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/1.039, allocations: 8 kB / 1.171 GB, free: 6.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/1.039, allocations: 0 / 1.171 GB, free: 6.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/1.039, allocations: 7.969 kB / 1.171 GB, free: 6.492 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/1.04, allocations: 0.9229 MB / 1.172 GB, free: 5.516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.04, allocations: 0 / 1.172 GB, free: 5.516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/1.04, allocations: 171.7 kB / 1.172 GB, free: 5.348 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/1.041, allocations: 88.7 kB / 1.172 GB, free: 5.258 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/1.041, allocations: 23.98 kB / 1.172 GB, free: 5.234 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/1.043, allocations: 1.579 MB / 1.174 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.043, allocations: 0 / 1.174 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/1.045, allocations: 1.014 MB / 1.175 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/1.045, allocations: 299.5 kB / 1.175 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.045, allocations: 16 kB / 1.175 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006546/1.046, allocations: 95.86 kB / 1.175 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.046, allocations: 76.89 kB / 1.175 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.23e-05/1.046, allocations: 35.97 kB / 1.175 GB, free: 1.949 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005435/1.047, allocations: 459 kB / 1.176 GB, free: 1.504 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.047, allocations: 4 kB / 1.176 GB, free: 1.5 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000901/1.048, allocations: 315.3 kB / 1.176 GB, free: 1.191 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001359/1.049, allocations: 0.6325 MB / 1.176 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001843/1.051, allocations: 0.8745 MB / 1.177 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.051, allocations: 0 / 1.177 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009975/1.052, allocations: 0.5626 MB / 1.178 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/1.053, allocations: 240.7 kB / 1.178 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/1.057, allocations: 2.174 MB / 1.18 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/1.058, allocations: 1.036 MB / 1.181 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008773/1.058, allocations: 290.8 kB / 1.181 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/1.059, allocations: 111.4 kB / 1.182 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of SimCode: time 7.81e-07/1.059, allocations: 0 / 1.182 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of Templates: time 0.02372/1.082, allocations: 14.38 MB / 1.196 GB, free: 13.18 MB / 0.9512 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