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.001445/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001844/0.001844, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.835/2.835, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 63.03 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3155, allocations: 157.4 MB / 1.052 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006115/0.3216, allocations: 4.704 MB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1544/0.476, allocations: 148.3 MB / 1.201 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009159/0.477, allocations: 19.88 kB / 1.202 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.4777, allocations: 138.9 kB / 1.202 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.4795, allocations: 453 kB / 1.202 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.4817, allocations: 0.7425 MB / 1.203 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.4834, allocations: 1.288 MB / 1.204 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007726/0.4841, allocations: 0.5117 MB / 1.205 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005927/0.4847, allocations: 414.3 kB / 1.205 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.4853, allocations: 453.9 kB / 1.205 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.4854, allocations: 52 kB / 1.205 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.4871, allocations: 0.784 MB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.4873, allocations: 231 kB / 1.206 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.4877, allocations: 481.2 kB / 1.207 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.4897, allocations: 1.694 MB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4897, allocations: 4 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4897, allocations: 4 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.4897, allocations: 0 / 1.209 GB, free: 8.055 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.002751/0.4925, allocations: 1.451 MB / 1.21 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.4925, allocations: 12.03 kB / 1.21 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.4938, allocations: 199.5 kB / 1.21 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.4948, allocations: 0.7468 MB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.4949, allocations: 54 kB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.495, allocations: 76 kB / 1.211 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.4967, allocations: 0.8919 MB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.4967, allocations: 7.875 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/0.4968, allocations: 32 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.4968, allocations: 20 kB / 1.212 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.4988, allocations: 1.132 MB / 1.213 GB, free: 3.309 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.004079/0.5029, allocations: 2.605 MB / 1.216 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.5046, allocations: 0.8274 MB / 1.216 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006859/0.5053, allocations: 338.6 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.817e-05/0.5054, allocations: 32.61 kB / 1.217 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/0.5065, allocations: 0.5241 MB / 1.217 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.5065, allocations: 0 / 1.217 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003739/0.5103, allocations: 1.287 MB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.5104, allocations: 196.6 kB / 1.219 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008529/0.5112, allocations: 0.641 MB / 1.219 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.823e-05/0.5113, allocations: 41.7 kB / 1.219 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.5116, allocations: 376.5 kB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.5119, allocations: 268.2 kB / 1.22 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.5121, allocations: 174.5 kB / 1.22 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.5123, allocations: 390.7 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/0.513, allocations: 297.8 kB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007967/0.5138, allocations: 399.9 kB / 1.221 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.5153, allocations: 0.6744 MB / 1.222 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5153, allocations: 0 / 1.222 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002385/0.5177, allocations: 0.9151 MB / 1.223 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.5177, allocations: 4.781 kB / 1.223 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5177, allocations: 8.125 kB / 1.223 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006301/0.5184, allocations: 80.77 kB / 1.223 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/0.5193, allocations: 175.8 kB / 1.223 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.5216, allocations: 1.535 MB / 1.224 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.5227, allocations: 100.7 kB / 1.225 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.5228, allocations: 39.97 kB / 1.225 GB, free: 7.016 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.0005887/0.5234, allocations: 269.5 kB / 1.225 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.5236, allocations: 90.91 kB / 1.225 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.5265, allocations: 1.21 MB / 1.226 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.5266, allocations: 8 kB / 1.226 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5266, allocations: 3.938 kB / 1.226 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.5266, allocations: 3.984 kB / 1.226 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.5277, allocations: 0.9151 MB / 1.227 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5277, allocations: 0 / 1.227 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006746/0.5284, allocations: 163.8 kB / 1.227 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005291/0.529, allocations: 80.78 kB / 1.227 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/0.529, allocations: 27.97 kB / 1.227 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.531, allocations: 1.563 MB / 1.229 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.531, allocations: 64 / 1.229 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.5333, allocations: 1.006 MB / 1.23 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.5337, allocations: 287.7 kB / 1.23 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.5339, allocations: 19.98 kB / 1.23 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007105/0.5346, allocations: 71.92 kB / 1.23 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.5348, allocations: 76.89 kB / 1.23 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-05/0.5349, allocations: 39.97 kB / 1.23 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005861/0.5355, allocations: 459 kB / 1.231 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5355, allocations: 0 / 1.231 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009519/0.5365, allocations: 327.3 kB / 1.231 GB, free: 188 kB / 0.9825 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.001496/0.538, allocations: 0.6325 MB / 1.232 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.54, allocations: 0.8976 MB / 1.233 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5401, allocations: 4.25 kB / 1.233 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.5411, allocations: 0.5548 MB / 1.233 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.5423, allocations: 279.4 kB / 1.233 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.5456, allocations: 2.056 MB / 1.235 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.5462, allocations: 1.012 MB / 1.236 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001027/0.5472, allocations: 266.9 kB / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.5475, allocations: 119.4 kB / 1.237 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.5475, allocations: 0 / 1.237 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.5636/1.111, allocations: 15.17 MB / 1.252 GB, free: 190.3 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