Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009635/0.009636, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.491/1.491, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.495/2.495, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7808/0.7812, allocations: 142.4 MB / 0.955 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.004487/0.7857, allocations: 3.867 MB / 0.9588 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1987/0.9844, allocations: 146.6 MB / 1.102 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.9856, allocations: 15.88 kB / 1.102 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000813/0.9865, allocations: 131 kB / 1.102 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.9886, allocations: 418.3 kB / 1.103 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.9908, allocations: 0.6619 MB / 1.103 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001742/0.9925, allocations: 1.109 MB / 1.104 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009894/0.9935, allocations: 498.4 kB / 1.105 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006748/0.9942, allocations: 298.5 kB / 1.105 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006706/0.9949, allocations: 330.2 kB / 1.105 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.995, allocations: 24 kB / 1.105 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008233/0.9959, allocations: 303.7 kB / 1.106 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.9961, allocations: 163.2 kB / 1.106 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005172/0.9966, allocations: 411.2 kB / 1.106 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.9984, allocations: 1.269 MB / 1.107 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.9984, allocations: 4 kB / 1.107 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9984, allocations: 0 / 1.107 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.494e-05/0.9985, allocations: 0 / 1.107 GB, free: 2.695 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.002465/1.001, allocations: 1.09 MB / 1.109 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.001, allocations: 8.031 kB / 1.109 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004365/1.001, allocations: 107.7 kB / 1.109 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/1.003, allocations: 0.6994 MB / 1.109 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/1.003, allocations: 50 kB / 1.109 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/1.003, allocations: 60 kB / 1.109 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/1.004, allocations: 0.7798 MB / 1.11 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/1.004, allocations: 4 kB / 1.11 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/1.005, allocations: 28 kB / 1.11 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/1.005, allocations: 20 kB / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/1.006, allocations: 0.965 MB / 1.111 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003804/1.01, allocations: 2.51 MB / 1.114 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/1.011, allocations: 0.681 MB / 1.114 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/1.011, allocations: 255.3 kB / 1.115 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.907e-05/1.011, allocations: 32.5 kB / 1.115 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007012/1.012, allocations: 422.2 kB / 1.115 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.304e-06/1.012, allocations: 0 / 1.115 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001515/1.014, allocations: 0.826 MB / 1.116 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/1.014, allocations: 255.9 kB / 1.116 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008177/1.015, allocations: 0.6293 MB / 1.117 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/1.015, allocations: 45.64 kB / 1.117 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/1.015, allocations: 352.5 kB / 1.117 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/1.015, allocations: 232.7 kB / 1.117 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.015, allocations: 65.67 kB / 1.117 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001706/1.016, allocations: 382.8 kB / 1.118 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/1.016, allocations: 221.9 kB / 1.118 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/1.016, allocations: 333.4 kB / 1.118 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008129/1.017, allocations: 0.5173 MB / 1.119 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.017, allocations: 7.938 kB / 1.119 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001129/1.018, allocations: 0.6799 MB / 1.119 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.018, allocations: 5.406 kB / 1.119 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.018, allocations: 4 kB / 1.119 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.018, allocations: 4 kB / 1.119 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/1.019, allocations: 143.7 kB / 1.12 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/1.019, allocations: 12.09 kB / 1.12 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/1.02, allocations: 97.02 kB / 1.12 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/1.02, allocations: 40.05 kB / 1.12 GB, free: 5.773 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.0003992/1.02, allocations: 259.4 kB / 1.12 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/1.02, allocations: 82.97 kB / 1.12 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/1.022, allocations: 0.8485 MB / 1.121 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.022, allocations: 8 kB / 1.121 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.022, allocations: 3.938 kB / 1.121 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.022, allocations: 3.984 kB / 1.121 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/1.023, allocations: 0.956 MB / 1.122 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.023, allocations: 4 kB / 1.122 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/1.024, allocations: 127.8 kB / 1.122 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/1.024, allocations: 3.938 kB / 1.122 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/1.024, allocations: 28 kB / 1.122 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/1.024, allocations: 4 kB / 1.122 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.024, allocations: 0 / 1.122 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/1.025, allocations: 0.7354 MB / 1.123 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/1.025, allocations: 275.8 kB / 1.123 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.025, allocations: 20 kB / 1.123 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/1.026, allocations: 73.91 kB / 1.123 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/1.026, allocations: 56.58 kB / 1.123 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/1.026, allocations: 35.91 kB / 1.123 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006111/1.027, allocations: 455 kB / 1.124 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.027, allocations: 0 / 1.124 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007978/1.028, allocations: 267.4 kB / 1.124 GB, free: 1.441 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.001471/1.029, allocations: 0.6078 MB / 1.124 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001036/1.03, allocations: 0.5794 MB / 1.125 GB, free: 444 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.03, allocations: 320 / 1.125 GB, free: 444 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004734/1.031, allocations: 327.6 kB / 1.125 GB, free: 116 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.032, allocations: 244.3 kB / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/1.035, allocations: 1.777 MB / 1.127 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007226/1.036, allocations: 0.9838 MB / 1.128 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008671/1.037, allocations: 242.2 kB / 1.128 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/1.037, allocations: 99.38 kB / 1.128 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of SimCode: time 1.744e-06/1.037, allocations: 3.938 kB / 1.128 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of Templates: time 0.02469/1.062, allocations: 11.83 MB / 1.14 GB, free: 1.043 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches