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.001265/0.001265, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001257/0.001257, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.368/2.368, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6788, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005955/0.6848, allocations: 4.69 MB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1457/0.8305, allocations: 150.6 MB / 1.36 GB, free: 1.691 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006875/0.8312, allocations: 19.88 kB / 1.36 GB, free: 1.672 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.8318, allocations: 186.2 kB / 1.36 GB, free: 1.488 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.8335, allocations: 0.52 MB / 1.361 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.8352, allocations: 0.8461 MB / 1.362 GB, free: 132 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.8366, allocations: 1.397 MB / 1.363 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007377/0.8374, allocations: 0.5272 MB / 1.363 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006152/0.838, allocations: 486.4 kB / 1.364 GB, free: 13.7 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.8386, allocations: 497.8 kB / 1.364 GB, free: 13.21 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.8388, allocations: 108 kB / 1.364 GB, free: 13.11 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.8401, allocations: 0.87 MB / 1.365 GB, free: 12.24 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.8403, allocations: 291 kB / 1.366 GB, free: 11.95 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.8408, allocations: 0.5324 MB / 1.366 GB, free: 11.42 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.8427, allocations: 1.782 MB / 1.368 GB, free: 9.633 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8427, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8427, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.8427, allocations: 4 kB / 1.368 GB, free: 9.629 MB / 1.092 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.002226/0.845, allocations: 1.45 MB / 1.369 GB, free: 8.125 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.845, allocations: 12.03 kB / 1.369 GB, free: 8.113 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.8461, allocations: 207.5 kB / 1.369 GB, free: 7.91 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009338/0.847, allocations: 0.7663 MB / 1.37 GB, free: 7.102 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.8471, allocations: 50 kB / 1.37 GB, free: 7.051 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/0.8472, allocations: 72 kB / 1.37 GB, free: 6.98 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.8486, allocations: 0.8958 MB / 1.371 GB, free: 6.043 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.8487, allocations: 0 / 1.371 GB, free: 6.043 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.8488, allocations: 35.98 kB / 1.371 GB, free: 6.008 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.8488, allocations: 24 kB / 1.371 GB, free: 5.984 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.8506, allocations: 1.124 MB / 1.372 GB, free: 4.859 MB / 1.092 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.003388/0.854, allocations: 2.573 MB / 1.375 GB, free: 2.191 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.8555, allocations: 0.8325 MB / 1.376 GB, free: 1.359 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/0.8561, allocations: 338.7 kB / 1.376 GB, free: 1.023 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.584e-05/0.8562, allocations: 28.61 kB / 1.376 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009268/0.8571, allocations: 0.5372 MB / 1.377 GB, free: 456 kB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 1.744e-06/0.8571, allocations: 0 / 1.377 GB, free: 456 kB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003271/0.8604, allocations: 1.291 MB / 1.378 GB, free: 15.12 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/0.8605, allocations: 192.6 kB / 1.378 GB, free: 14.89 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006619/0.8612, allocations: 0.6411 MB / 1.379 GB, free: 14.24 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.8612, allocations: 45.7 kB / 1.379 GB, free: 14.19 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.8615, allocations: 376.5 kB / 1.379 GB, free: 13.82 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.8617, allocations: 264.2 kB / 1.379 GB, free: 13.55 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.8619, allocations: 174.5 kB / 1.379 GB, free: 13.38 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8621, allocations: 390.7 kB / 1.38 GB, free: 12.99 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006257/0.8627, allocations: 293.8 kB / 1.38 GB, free: 12.7 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/0.8634, allocations: 407.9 kB / 1.381 GB, free: 12.29 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.8647, allocations: 0.6627 MB / 1.381 GB, free: 11.61 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8648, allocations: 0 / 1.381 GB, free: 11.61 MB / 1.107 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002071/0.8668, allocations: 0.9267 MB / 1.382 GB, free: 10.67 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.8669, allocations: 4 kB / 1.382 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8669, allocations: 0 / 1.382 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000534/0.8674, allocations: 88.89 kB / 1.382 GB, free: 10.57 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/0.8681, allocations: 179.7 kB / 1.382 GB, free: 10.4 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.87, allocations: 1.645 MB / 1.384 GB, free: 8.609 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006949/0.8707, allocations: 101 kB / 1.384 GB, free: 8.512 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.8708, allocations: 44.03 kB / 1.384 GB, free: 8.469 MB / 1.107 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.0003498/0.8711, allocations: 267.8 kB / 1.384 GB, free: 8.195 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.8713, allocations: 86.97 kB / 1.384 GB, free: 8.109 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.8738, allocations: 1.199 MB / 1.386 GB, free: 6.902 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.8739, allocations: 8 kB / 1.386 GB, free: 6.895 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.8739, allocations: 7.984 kB / 1.386 GB, free: 6.887 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.8739, allocations: 7.922 kB / 1.386 GB, free: 6.879 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008777/0.8748, allocations: 0.9035 MB / 1.386 GB, free: 5.922 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.8748, allocations: 3.984 kB / 1.387 GB, free: 5.918 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.8754, allocations: 159.8 kB / 1.387 GB, free: 5.762 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/0.8758, allocations: 80.78 kB / 1.387 GB, free: 5.68 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.8759, allocations: 27.98 kB / 1.387 GB, free: 5.652 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.8776, allocations: 1.674 MB / 1.388 GB, free: 3.828 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8776, allocations: 11.86 kB / 1.388 GB, free: 3.816 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.8796, allocations: 0.9943 MB / 1.389 GB, free: 2.801 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.8799, allocations: 291.6 kB / 1.39 GB, free: 2.496 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.88, allocations: 20 kB / 1.39 GB, free: 2.477 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/0.8807, allocations: 71.91 kB / 1.39 GB, free: 2.406 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.8808, allocations: 80.83 kB / 1.39 GB, free: 2.328 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.8809, allocations: 35.97 kB / 1.39 GB, free: 2.293 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004759/0.8814, allocations: 467 kB / 1.39 GB, free: 1.84 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8814, allocations: 0 / 1.39 GB, free: 1.84 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007291/0.8821, allocations: 331.3 kB / 1.391 GB, free: 1.516 MB / 1.107 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.001223/0.8833, allocations: 0.62 MB / 1.391 GB, free: 1.066 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.8851, allocations: 0.8976 MB / 1.392 GB, free: 160 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8851, allocations: 0 / 1.392 GB, free: 160 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009897/0.8861, allocations: 0.5591 MB / 1.393 GB, free: 15.59 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.8872, allocations: 297.6 kB / 1.393 GB, free: 15.31 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.8897, allocations: 1.679 MB / 1.395 GB, free: 13.6 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.8902, allocations: 1.019 MB / 1.396 GB, free: 12.56 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/0.8905, allocations: 127.4 kB / 1.396 GB, free: 12.43 MB / 1.123 GB Notification: Performance of SimCode: time 1.493e-06/0.8905, allocations: 0 / 1.396 GB, free: 12.43 MB / 1.123 GB Notification: Performance of Templates: time 0.02049/0.911, allocations: 19.05 MB / 1.414 GB, free: 9.465 MB / 1.139 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