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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00104/0.00104, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008127/0.008127, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 8.531 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3269, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00538/0.3323, allocations: 4.28 MB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.5011, allocations: 146.7 MB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.5026, allocations: 15.88 kB / 1.206 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.5037, allocations: 134.9 kB / 1.206 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.5071, allocations: 456.4 kB / 1.207 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.5112, allocations: 0.7263 MB / 1.207 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003357/0.5145, allocations: 1.288 MB / 1.209 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.5163, allocations: 0.5194 MB / 1.209 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.5174, allocations: 354.4 kB / 1.209 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.5185, allocations: 389.9 kB / 1.21 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.5187, allocations: 24 kB / 1.21 GB, free: 10 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.5218, allocations: 0.7684 MB / 1.211 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004817/0.5223, allocations: 183.1 kB / 1.211 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.5234, allocations: 466.9 kB / 1.211 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003972/0.5274, allocations: 1.651 MB / 1.213 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5274, allocations: 0 / 1.213 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.096e-06/0.5274, allocations: 0 / 1.213 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.61e-05/0.5275, allocations: 0 / 1.213 GB, free: 6.93 MB / 0.9669 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.004408/0.5319, allocations: 1.255 MB / 1.214 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/0.532, allocations: 8.031 kB / 1.214 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.5342, allocations: 211.5 kB / 1.214 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.5365, allocations: 0.7468 MB / 1.215 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.5366, allocations: 65.97 kB / 1.215 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.5368, allocations: 72 kB / 1.215 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/0.5402, allocations: 0.8997 MB / 1.216 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.5403, allocations: 0 / 1.216 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.5404, allocations: 32 kB / 1.216 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.5405, allocations: 20 kB / 1.216 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004244/0.5447, allocations: 1.147 MB / 1.217 GB, free: 2.348 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008468/0.5532, allocations: 2.644 MB / 1.22 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.5567, allocations: 0.8392 MB / 1.221 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.5581, allocations: 342.7 kB / 1.221 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.5583, allocations: 32.59 kB / 1.221 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002095/0.5604, allocations: 0.5396 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 4.97e-06/0.5604, allocations: 3.938 kB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.00693/0.5674, allocations: 1.315 MB / 1.223 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.5676, allocations: 192.6 kB / 1.223 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.5693, allocations: 0.641 MB / 1.224 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.5695, allocations: 45.7 kB / 1.224 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005564/0.57, allocations: 376.5 kB / 1.224 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/0.5705, allocations: 268.1 kB / 1.224 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.5707, allocations: 69.67 kB / 1.224 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000281/0.571, allocations: 394.7 kB / 1.225 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.5724, allocations: 305.8 kB / 1.225 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.574, allocations: 407.9 kB / 1.225 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/0.577, allocations: 0.6823 MB / 1.226 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.5771, allocations: 4 kB / 1.226 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00478/0.5819, allocations: 0.9346 MB / 1.227 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.5819, allocations: 4 kB / 1.227 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.582, allocations: 64 / 1.227 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.583, allocations: 96.83 kB / 1.227 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.5846, allocations: 179.8 kB / 1.227 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/0.5884, allocations: 1.539 MB / 1.229 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.5902, allocations: 114.3 kB / 1.229 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.5904, allocations: 39.97 kB / 1.229 GB, free: 5.98 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001048/0.5915, allocations: 267.8 kB / 1.229 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/0.5919, allocations: 90.91 kB / 1.229 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005893/0.5978, allocations: 1.222 MB / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.5979, allocations: 8 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5979, allocations: 0 / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.5979, allocations: 11.97 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.6, allocations: 0.9074 MB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.6001, allocations: 0 / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/0.6015, allocations: 171.8 kB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008947/0.6024, allocations: 80.72 kB / 1.232 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-05/0.6025, allocations: 35.97 kB / 1.232 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003163/0.6057, allocations: 1.559 MB / 1.233 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6057, allocations: 0 / 1.233 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004333/0.61, allocations: 1.018 MB / 1.234 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000762/0.6108, allocations: 295.6 kB / 1.234 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.6111, allocations: 24 kB / 1.234 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.6123, allocations: 95.89 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.6125, allocations: 72.77 kB / 1.235 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.6127, allocations: 43.97 kB / 1.235 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001186/0.6139, allocations: 459 kB / 1.235 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6139, allocations: 0 / 1.235 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001621/0.6155, allocations: 331.4 kB / 1.235 GB, free: 15.08 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002546/0.6181, allocations: 0.6197 MB / 1.236 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003821/0.6219, allocations: 0.9173 MB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.622, allocations: 4 kB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.6238, allocations: 0.5627 MB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.626, allocations: 281.4 kB / 1.238 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.6312, allocations: 2.077 MB / 1.24 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.6324, allocations: 1.016 MB / 1.241 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002088/0.6345, allocations: 282.8 kB / 1.241 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/0.6351, allocations: 115.4 kB / 1.241 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of SimCode: time 1.243e-06/0.6351, allocations: 0 / 1.241 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of Templates: time 0.5942/1.229, allocations: 15.05 MB / 1.256 GB, free: 188.2 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches