Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 108.5 kB / 16.36 MB, free: 6.016 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.001879/0.001879, allocations: 197.5 kB / 17.31 MB, free: 5.613 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 68.62 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2938, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.00585/0.2997, allocations: 4.267 MB / 0.9553 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6651/0.9648, allocations: 150.5 MB / 1.102 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008791/0.9657, allocations: 14.97 kB / 1.102 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.9663, allocations: 163.3 kB / 1.102 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.9681, allocations: 497.9 kB / 1.103 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.9705, allocations: 0.7491 MB / 1.104 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.9721, allocations: 1.206 MB / 1.105 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007764/0.9729, allocations: 0.5104 MB / 1.105 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005995/0.9735, allocations: 403.8 kB / 1.106 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.974, allocations: 420.2 kB / 1.106 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.9742, allocations: 101.6 kB / 1.106 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008899/0.9751, allocations: 399.8 kB / 1.107 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002828/0.9754, allocations: 257.8 kB / 1.107 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005872/0.976, allocations: 477.6 kB / 1.107 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.9785, allocations: 1.392 MB / 1.109 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.9786, allocations: 1.344 kB / 1.109 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9786, allocations: 0 / 1.109 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.209e-05/0.9786, allocations: 3.75 kB / 1.109 GB, free: 4.367 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003073/0.9817, allocations: 1.271 MB / 1.11 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.9817, allocations: 10.34 kB / 1.11 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/0.9821, allocations: 105.8 kB / 1.11 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.9836, allocations: 0.7173 MB / 1.111 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.9837, allocations: 51.11 kB / 1.111 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.9838, allocations: 68.86 kB / 1.111 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.9851, allocations: 0.7743 MB / 1.112 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.9852, allocations: 1.438 kB / 1.112 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.235e-05/0.9853, allocations: 29.09 kB / 1.112 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.9853, allocations: 18.16 kB / 1.112 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.9868, allocations: 0.9704 MB / 1.113 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.9903, allocations: 2.46 MB / 1.115 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.9915, allocations: 0.6796 MB / 1.116 GB, free: 17.9 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.9919, allocations: 250.1 kB / 1.116 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.219e-05/0.992, allocations: 28.05 kB / 1.116 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006777/0.9927, allocations: 425.7 kB / 1.116 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.354e-06/0.9927, allocations: 0 / 1.116 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001529/0.9942, allocations: 0.8361 MB / 1.117 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.9944, allocations: 243.9 kB / 1.117 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008235/0.9952, allocations: 0.6311 MB / 1.118 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.9953, allocations: 42.5 kB / 1.118 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.9955, allocations: 354.4 kB / 1.118 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.9957, allocations: 229.3 kB / 1.119 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.9959, allocations: 158.2 kB / 1.119 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.9961, allocations: 382.9 kB / 1.119 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.9964, allocations: 220 kB / 1.119 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.9969, allocations: 338.8 kB / 1.12 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/0.9976, allocations: 0.517 MB / 1.12 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.9977, allocations: 1.156 kB / 1.12 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001107/0.9988, allocations: 0.6838 MB / 1.121 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.9988, allocations: 9.781 kB / 1.121 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.9988, allocations: 1 kB / 1.121 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.9988, allocations: 5.719 kB / 1.121 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.9994, allocations: 146.7 kB / 1.121 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.9994, allocations: 5.188 kB / 1.121 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/1, allocations: 91.16 kB / 1.121 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/1, allocations: 35.36 kB / 1.121 GB, free: 16.34 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003365/1, allocations: 257.8 kB / 1.121 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/1.001, allocations: 79.25 kB / 1.121 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/1.002, allocations: 0.8378 MB / 1.122 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/1.002, allocations: 15.84 kB / 1.122 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.002, allocations: 0 / 1.122 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.002, allocations: 7.516 kB / 1.122 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/1.004, allocations: 0.9716 MB / 1.123 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.004, allocations: 0 / 1.123 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/1.004, allocations: 130.7 kB / 1.123 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/1.004, allocations: 2.781 kB / 1.123 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/1.004, allocations: 27.73 kB / 1.123 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/1.004, allocations: 4.031 kB / 1.123 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.004, allocations: 0 / 1.123 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.005, allocations: 0.7288 MB / 1.124 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/1.006, allocations: 256.1 kB / 1.124 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/1.006, allocations: 25.98 kB / 1.124 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/1.006, allocations: 56.31 kB / 1.124 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.006, allocations: 64.69 kB / 1.124 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/1.006, allocations: 30.69 kB / 1.124 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005164/1.007, allocations: 455.7 kB / 1.125 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.007, allocations: 3.75 kB / 1.125 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007821/1.008, allocations: 272 kB / 1.125 GB, free: 15.3 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/1.009, allocations: 0.6035 MB / 1.126 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001007/1.01, allocations: 0.5823 MB / 1.126 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.01, allocations: 1.312 kB / 1.126 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004655/1.011, allocations: 319.9 kB / 1.127 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/1.012, allocations: 264 kB / 1.127 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/1.014, allocations: 1.401 MB / 1.128 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/1.015, allocations: 0.9811 MB / 1.129 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006825/1.015, allocations: 251.7 kB / 1.129 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/1.015, allocations: 100.8 kB / 1.13 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/1.015, allocations: 0 / 1.13 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.02287/1.038, allocations: 12.39 MB / 1.142 GB, free: 11.96 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches