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.00111/0.00111, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.026/3.026, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003617, allocations: 12.06 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3165, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00576/0.3223, allocations: 4.272 MB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1622/0.4845, allocations: 146.7 MB / 1.207 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009213/0.4855, allocations: 19.88 kB / 1.207 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007822/0.4863, allocations: 138.9 kB / 1.207 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.4885, allocations: 471.6 kB / 1.207 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.4909, allocations: 0.7196 MB / 1.208 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001964/0.4928, allocations: 1.288 MB / 1.209 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.4939, allocations: 0.5077 MB / 1.21 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007235/0.4947, allocations: 350.4 kB / 1.21 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006966/0.4954, allocations: 397.9 kB / 1.21 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.4956, allocations: 28 kB / 1.211 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.4972, allocations: 0.7606 MB / 1.211 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.4974, allocations: 195.1 kB / 1.211 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.498, allocations: 458.9 kB / 1.212 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.4997, allocations: 1.278 MB / 1.213 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4998, allocations: 0 / 1.213 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4998, allocations: 0 / 1.213 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.938e-05/0.4998, allocations: 4 kB / 1.213 GB, free: 6.805 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.002764/0.5026, allocations: 1.251 MB / 1.214 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.5027, allocations: 15.97 kB / 1.214 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.5042, allocations: 223.5 kB / 1.215 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.5062, allocations: 0.739 MB / 1.215 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.5063, allocations: 54 kB / 1.215 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/0.5066, allocations: 72 kB / 1.215 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.5089, allocations: 0.9074 MB / 1.216 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.5089, allocations: 0 / 1.216 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.509, allocations: 32 kB / 1.216 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.5091, allocations: 23.98 kB / 1.216 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.5113, allocations: 1.139 MB / 1.217 GB, free: 2.219 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.005121/0.5164, allocations: 2.641 MB / 1.22 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.5184, allocations: 0.847 MB / 1.221 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/0.5192, allocations: 342.6 kB / 1.221 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.5193, allocations: 36.61 kB / 1.221 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/0.5205, allocations: 0.5319 MB / 1.222 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.996e-06/0.5205, allocations: 0 / 1.222 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003846/0.5244, allocations: 1.322 MB / 1.223 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.5245, allocations: 188.6 kB / 1.223 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.5259, allocations: 0.6449 MB / 1.224 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.526, allocations: 41.7 kB / 1.224 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.5264, allocations: 376.5 kB / 1.224 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.5267, allocations: 264.2 kB / 1.225 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.5268, allocations: 77.62 kB / 1.225 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.527, allocations: 394.7 kB / 1.225 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007693/0.5278, allocations: 305.8 kB / 1.225 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008479/0.5286, allocations: 407.9 kB / 1.226 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.5302, allocations: 0.6862 MB / 1.226 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5302, allocations: 0 / 1.226 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002495/0.5327, allocations: 0.9385 MB / 1.227 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.5328, allocations: 4 kB / 1.227 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5328, allocations: 4 kB / 1.227 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.5334, allocations: 80.91 kB / 1.227 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/0.5342, allocations: 183.7 kB / 1.228 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.5364, allocations: 1.556 MB / 1.229 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.5375, allocations: 109.5 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.5376, allocations: 43.91 kB / 1.229 GB, free: 5.836 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.0005931/0.5382, allocations: 267.9 kB / 1.229 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.5384, allocations: 94.89 kB / 1.23 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.5417, allocations: 1.218 MB / 1.231 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.5417, allocations: 16 kB / 1.231 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5418, allocations: 0 / 1.231 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5418, allocations: 3.984 kB / 1.231 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.5431, allocations: 0.9112 MB / 1.232 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5431, allocations: 0 / 1.232 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.5438, allocations: 167.7 kB / 1.232 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005583/0.5444, allocations: 88.77 kB / 1.232 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/0.5445, allocations: 23.98 kB / 1.232 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.5465, allocations: 1.563 MB / 1.233 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5465, allocations: 0 / 1.233 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.5492, allocations: 1.021 MB / 1.234 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/0.5498, allocations: 295.7 kB / 1.235 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.5501, allocations: 20 kB / 1.235 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/0.5509, allocations: 95.81 kB / 1.235 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.5511, allocations: 76.89 kB / 1.235 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-05/0.5512, allocations: 39.97 kB / 1.235 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007029/0.5519, allocations: 463 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5519, allocations: 0 / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001051/0.553, allocations: 327.4 kB / 1.236 GB, free: 14.93 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.001586/0.5546, allocations: 0.6188 MB / 1.236 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.5568, allocations: 0.9212 MB / 1.237 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.5569, allocations: 0 / 1.237 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.5581, allocations: 0.5549 MB / 1.238 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.5597, allocations: 284 kB / 1.238 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.5633, allocations: 2.121 MB / 1.24 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.564, allocations: 1.016 MB / 1.241 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.5645, allocations: 119.4 kB / 1.241 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/0.5645, allocations: 4 kB / 1.241 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of Templates: time 0.5584/1.123, allocations: 18.81 MB / 1.26 GB, free: 187.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches