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.001321/0.001321, allocations: 100.1 kB / 15.88 MB, free: 12 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.001613/0.001613, allocations: 199.9 kB / 16.79 MB, free: 6.809 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 68 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2916, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006662/0.2983, allocations: 4.704 MB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1589/0.4572, allocations: 148.3 MB / 1.202 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/0.4582, allocations: 15.94 kB / 1.202 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000887/0.4591, allocations: 150.8 kB / 1.202 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.4611, allocations: 444.6 kB / 1.203 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.4632, allocations: 0.7301 MB / 1.203 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00178/0.465, allocations: 1.288 MB / 1.205 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009819/0.466, allocations: 0.5271 MB / 1.205 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000789/0.4668, allocations: 414.3 kB / 1.206 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007762/0.4676, allocations: 453.9 kB / 1.206 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.4678, allocations: 48 kB / 1.206 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.4695, allocations: 0.784 MB / 1.207 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.4699, allocations: 227.1 kB / 1.207 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006743/0.4706, allocations: 485.2 kB / 1.208 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.4724, allocations: 1.306 MB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4724, allocations: 0 / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4724, allocations: 0 / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.762e-05/0.4725, allocations: 0 / 1.209 GB, free: 7.922 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.003356/0.4759, allocations: 1.454 MB / 1.21 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4759, allocations: 8.031 kB / 1.21 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.4773, allocations: 203.5 kB / 1.21 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.4786, allocations: 0.7467 MB / 1.211 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.039e-05/0.4787, allocations: 58 kB / 1.211 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.4788, allocations: 72 kB / 1.211 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.4807, allocations: 0.8958 MB / 1.212 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.4807, allocations: 4 kB / 1.212 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/0.4808, allocations: 32 kB / 1.212 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.4809, allocations: 23.92 kB / 1.212 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.483, allocations: 1.132 MB / 1.213 GB, free: 3.164 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.004609/0.4876, allocations: 2.601 MB / 1.216 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.4895, allocations: 0.8332 MB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007169/0.4902, allocations: 334.7 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.42e-05/0.4903, allocations: 28.62 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.4915, allocations: 0.5318 MB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/0.4915, allocations: 0 / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003776/0.4953, allocations: 1.287 MB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.4955, allocations: 192.6 kB / 1.219 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009798/0.4964, allocations: 0.641 MB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.4966, allocations: 45.7 kB / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.4969, allocations: 376.5 kB / 1.22 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.4972, allocations: 264.2 kB / 1.22 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.4975, allocations: 174.5 kB / 1.22 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4977, allocations: 394.7 kB / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/0.4985, allocations: 293.8 kB / 1.221 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008337/0.4993, allocations: 399.9 kB / 1.221 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.5008, allocations: 0.6705 MB / 1.222 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5008, allocations: 0 / 1.222 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002537/0.5034, allocations: 0.919 MB / 1.223 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5034, allocations: 4.125 kB / 1.223 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.5034, allocations: 4 kB / 1.223 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.5041, allocations: 84.75 kB / 1.223 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/0.5049, allocations: 187.8 kB / 1.223 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.5071, allocations: 1.532 MB / 1.225 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009699/0.5081, allocations: 99.44 kB / 1.225 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.5082, allocations: 39.91 kB / 1.225 GB, free: 6.867 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.0005983/0.5088, allocations: 276 kB / 1.225 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.5091, allocations: 90.89 kB / 1.225 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.5123, allocations: 1.202 MB / 1.226 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5123, allocations: 12 kB / 1.226 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5124, allocations: 0 / 1.226 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5124, allocations: 3.984 kB / 1.226 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.5138, allocations: 0.9151 MB / 1.227 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.5138, allocations: 0 / 1.227 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007267/0.5146, allocations: 167.7 kB / 1.228 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/0.5151, allocations: 80.78 kB / 1.228 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.399e-05/0.5152, allocations: 35.97 kB / 1.228 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.5173, allocations: 1.552 MB / 1.229 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.5173, allocations: 4.031 kB / 1.229 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.5199, allocations: 1.002 MB / 1.23 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/0.5204, allocations: 283.7 kB / 1.23 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.5207, allocations: 23.98 kB / 1.23 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007746/0.5215, allocations: 65.48 kB / 1.23 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.5217, allocations: 84.83 kB / 1.231 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/0.5218, allocations: 39.97 kB / 1.231 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000716/0.5225, allocations: 459 kB / 1.231 GB, free: 364 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5225, allocations: 0 / 1.231 GB, free: 364 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001117/0.5236, allocations: 331.3 kB / 1.231 GB, free: 32 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.001689/0.5253, allocations: 0.6306 MB / 1.232 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002315/0.5277, allocations: 0.8976 MB / 1.233 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5277, allocations: 4.25 kB / 1.233 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.5289, allocations: 0.5509 MB / 1.233 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.5302, allocations: 282.3 kB / 1.234 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.5336, allocations: 2.096 MB / 1.236 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.5343, allocations: 1.009 MB / 1.237 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.5347, allocations: 127.4 kB / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of SimCode: time 1.343e-06/0.5347, allocations: 0 / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of Templates: time 0.4924/1.027, allocations: 18.91 MB / 1.255 GB, free: 190.9 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