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.00119/0.001191, allocations: 108 kB / 15.6 MB, free: 132 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.001173/0.001173, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.407/2.407, allocations: 390.2 MB / 0.6646 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7047/0.7062, allocations: 140.4 MB / 0.9496 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005046/0.7113, allocations: 4.274 MB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1705/0.8818, allocations: 150.5 MB / 1.101 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008041/0.8827, allocations: 23.81 kB / 1.101 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.8832, allocations: 162.5 kB / 1.101 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.8849, allocations: 491.2 kB / 1.101 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.8866, allocations: 0.754 MB / 1.102 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.8878, allocations: 1.195 MB / 1.103 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007094/0.8885, allocations: 0.5101 MB / 1.104 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.8891, allocations: 402.6 kB / 1.104 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.8896, allocations: 422.1 kB / 1.105 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.8898, allocations: 96 kB / 1.105 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007438/0.8905, allocations: 371.7 kB / 1.105 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.8908, allocations: 255.2 kB / 1.105 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.8911, allocations: 477.5 kB / 1.106 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.8926, allocations: 1.355 MB / 1.107 GB, free: 12 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8926, allocations: 4 kB / 1.107 GB, free: 8 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.915e-06/0.8926, allocations: 0 / 1.107 GB, free: 8 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.8926, allocations: 3.938 kB / 1.107 GB, free: 4 kB / 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.002046/0.8947, allocations: 1.273 MB / 1.108 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.8947, allocations: 8.031 kB / 1.108 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.895, allocations: 107.7 kB / 1.108 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008747/0.8959, allocations: 0.6994 MB / 1.109 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.8959, allocations: 50 kB / 1.109 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.896, allocations: 60 kB / 1.109 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.8972, allocations: 0.776 MB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.8972, allocations: 0 / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-05/0.8973, allocations: 32 kB / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.8973, allocations: 20 kB / 1.11 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.8987, allocations: 0.9767 MB / 1.111 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.902, allocations: 2.482 MB / 1.113 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.9031, allocations: 0.6858 MB / 1.114 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.9035, allocations: 255.3 kB / 1.114 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.617e-05/0.9035, allocations: 28.52 kB / 1.114 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006996/0.9042, allocations: 418.3 kB / 1.115 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.394e-06/0.9043, allocations: 0 / 1.115 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001536/0.9058, allocations: 0.8351 MB / 1.116 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.9059, allocations: 251.8 kB / 1.116 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007602/0.9067, allocations: 0.633 MB / 1.116 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.9068, allocations: 41.7 kB / 1.116 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.907, allocations: 352.5 kB / 1.117 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.9072, allocations: 228.8 kB / 1.117 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.9074, allocations: 154.5 kB / 1.117 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.9076, allocations: 382.8 kB / 1.117 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.908, allocations: 229.8 kB / 1.118 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.9084, allocations: 329.4 kB / 1.118 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.9092, allocations: 0.5173 MB / 1.119 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9092, allocations: 0 / 1.119 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001147/0.9104, allocations: 0.6837 MB / 1.119 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9104, allocations: 8 kB / 1.119 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.9104, allocations: 3.984 kB / 1.119 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.9104, allocations: 4 kB / 1.119 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/0.911, allocations: 151.9 kB / 1.119 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.911, allocations: 11.92 kB / 1.119 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/0.9116, allocations: 84.25 kB / 1.119 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/0.9116, allocations: 31.98 kB / 1.119 GB, free: 2.84 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.0003612/0.912, allocations: 259.4 kB / 1.12 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.9121, allocations: 79.06 kB / 1.12 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.9136, allocations: 0.8485 MB / 1.121 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.9137, allocations: 12 kB / 1.121 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.9137, allocations: 3.938 kB / 1.121 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.9137, allocations: 3.984 kB / 1.121 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.9147, allocations: 0.9636 MB / 1.122 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.9148, allocations: 3.984 kB / 1.122 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.9152, allocations: 119.8 kB / 1.122 GB, free: 488 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.9152, allocations: 7.938 kB / 1.122 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.9152, allocations: 27.97 kB / 1.122 GB, free: 452 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.9153, allocations: 4 kB / 1.122 GB, free: 448 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9153, allocations: 4.031 kB / 1.122 GB, free: 444 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.9164, allocations: 0.7277 MB / 1.122 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.9167, allocations: 259.8 kB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.9168, allocations: 19.98 kB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.9173, allocations: 57.83 kB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.9175, allocations: 60.58 kB / 1.123 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.9175, allocations: 27.98 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005176/0.918, allocations: 455 kB / 1.123 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.918, allocations: 0 / 1.123 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006823/0.9187, allocations: 271.4 kB / 1.124 GB, free: 14.54 MB / 0.8887 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.001282/0.92, allocations: 0.6093 MB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.9216, allocations: 0.759 MB / 1.125 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.9216, allocations: 0 / 1.125 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.9221, allocations: 323.5 kB / 1.125 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.9232, allocations: 269.3 kB / 1.125 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.9255, allocations: 1.428 MB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.926, allocations: 0.9757 MB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000725/0.9268, allocations: 246.2 kB / 1.128 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.927, allocations: 103.4 kB / 1.128 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of SimCode: time 3.31e-07/0.927, allocations: 0 / 1.128 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of Templates: time 0.02197/0.949, allocations: 12.39 MB / 1.14 GB, free: 13.75 MB / 0.9044 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