Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001634/0.001634, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001797/0.001797, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.485/1.485, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.011/3.011, allocations: 469.8 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 73.2 kB / 0.908 GB, free: 34.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3701, allocations: 159.2 MB / 1.063 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006816/0.3769, allocations: 4.703 MB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1855/0.5625, allocations: 148.4 MB / 1.213 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.5636, allocations: 19.88 kB / 1.213 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000604/0.5642, allocations: 146.9 kB / 1.213 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.5662, allocations: 472.5 kB / 1.214 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.5685, allocations: 0.7569 MB / 1.214 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.5704, allocations: 1.382 MB / 1.216 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008693/0.5712, allocations: 0.5311 MB / 1.216 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007663/0.572, allocations: 490.2 kB / 1.217 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006066/0.5726, allocations: 485.9 kB / 1.217 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.5728, allocations: 112 kB / 1.217 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.5744, allocations: 0.8504 MB / 1.218 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.5747, allocations: 279.1 kB / 1.218 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005105/0.5752, allocations: 0.5363 MB / 1.219 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.5776, allocations: 1.745 MB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5776, allocations: 0 / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5776, allocations: 7.938 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.5776, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9825 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.002784/0.5804, allocations: 1.45 MB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5805, allocations: 8.031 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.5817, allocations: 203.4 kB / 1.222 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.5828, allocations: 0.7429 MB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/0.5829, allocations: 58 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.583, allocations: 75.98 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.5848, allocations: 0.8919 MB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.5848, allocations: 8 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/0.5849, allocations: 32 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.585, allocations: 19.98 kB / 1.224 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.587, allocations: 1.128 MB / 1.225 GB, free: 8.488 MB / 0.9825 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.004388/0.5914, allocations: 2.608 MB / 1.228 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.5932, allocations: 0.8283 MB / 1.228 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000719/0.5939, allocations: 330.7 kB / 1.229 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.652e-05/0.594, allocations: 36.59 kB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.5951, allocations: 0.5318 MB / 1.229 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.5952, allocations: 0 / 1.229 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003856/0.599, allocations: 1.287 MB / 1.23 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.5992, allocations: 192.6 kB / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009295/0.6001, allocations: 0.641 MB / 1.231 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/0.6002, allocations: 41.7 kB / 1.231 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.6005, allocations: 376.6 kB / 1.232 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.6008, allocations: 264.2 kB / 1.232 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.6011, allocations: 174.5 kB / 1.232 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.6013, allocations: 398.7 kB / 1.233 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007141/0.602, allocations: 297.8 kB / 1.233 GB, free: 304 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008411/0.6029, allocations: 396 kB / 1.233 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.6044, allocations: 0.6705 MB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6044, allocations: 0 / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002498/0.6069, allocations: 0.9151 MB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.607, allocations: 11.98 kB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.607, allocations: 3.938 kB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006382/0.6076, allocations: 80.91 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/0.6084, allocations: 179.8 kB / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.6108, allocations: 1.658 MB / 1.237 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009439/0.6117, allocations: 97.16 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.253e-05/0.6118, allocations: 44.03 kB / 1.237 GB, free: 12.06 MB / 0.9981 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.0005276/0.6124, allocations: 275.9 kB / 1.237 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.6126, allocations: 86.91 kB / 1.237 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/0.6157, allocations: 1.202 MB / 1.238 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.6157, allocations: 8 kB / 1.238 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6157, allocations: 0 / 1.238 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.6157, allocations: 11.92 kB / 1.238 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.6169, allocations: 0.9034 MB / 1.239 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6169, allocations: 4 kB / 1.239 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/0.6176, allocations: 159.8 kB / 1.239 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/0.6181, allocations: 72.78 kB / 1.239 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/0.6182, allocations: 31.97 kB / 1.239 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.6204, allocations: 1.677 MB / 1.241 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6204, allocations: 0 / 1.241 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.6228, allocations: 0.998 MB / 1.242 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.6232, allocations: 283.9 kB / 1.242 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.6233, allocations: 20 kB / 1.242 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006899/0.624, allocations: 75.83 kB / 1.242 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.6242, allocations: 72.88 kB / 1.242 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.6243, allocations: 43.97 kB / 1.242 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006202/0.6249, allocations: 463 kB / 1.243 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6249, allocations: 0 / 1.243 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009466/0.6259, allocations: 335.3 kB / 1.243 GB, free: 5.121 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.002016/0.6279, allocations: 0.6262 MB / 1.244 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002987/0.6309, allocations: 1.112 MB / 1.245 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6309, allocations: 0 / 1.245 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.6321, allocations: 0.5551 MB / 1.245 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.6334, allocations: 296.9 kB / 1.246 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.637, allocations: 2.055 MB / 1.248 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4984/1.135, allocations: 1.011 MB / 1.249 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001195/1.137, allocations: 274.3 kB / 1.249 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/1.137, allocations: 115.8 kB / 1.249 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.137, allocations: 0 / 1.249 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02898/1.166, allocations: 15.72 MB / 1.264 GB, free: 183.1 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches