Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 99.42 kB / 16.02 MB, free: 76 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.001667/0.001667, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.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.416/2.416, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8285/0.8289, allocations: 142.4 MB / 0.9557 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004672/0.8336, allocations: 3.861 MB / 0.9595 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1772/1.011, allocations: 146.6 MB / 1.103 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009148/1.012, allocations: 15.94 kB / 1.103 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00075/1.013, allocations: 135 kB / 1.103 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/1.015, allocations: 413.6 kB / 1.103 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/1.017, allocations: 0.651 MB / 1.104 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001614/1.018, allocations: 1.117 MB / 1.105 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009586/1.019, allocations: 490.4 kB / 1.105 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006204/1.02, allocations: 302.5 kB / 1.106 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/1.021, allocations: 330.2 kB / 1.106 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/1.021, allocations: 24 kB / 1.106 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008393/1.022, allocations: 303.6 kB / 1.106 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/1.022, allocations: 167.2 kB / 1.106 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000578/1.022, allocations: 407.2 kB / 1.107 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/1.024, allocations: 0.9975 MB / 1.108 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.024, allocations: 3.938 kB / 1.108 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.644e-06/1.024, allocations: 4 kB / 1.108 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.796e-05/1.024, allocations: 0 / 1.108 GB, free: 3.012 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.002694/1.027, allocations: 1.094 MB / 1.109 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.027, allocations: 8.031 kB / 1.109 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004124/1.027, allocations: 103.7 kB / 1.109 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/1.028, allocations: 0.6994 MB / 1.11 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.484e-05/1.028, allocations: 46 kB / 1.11 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/1.028, allocations: 71.98 kB / 1.11 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/1.03, allocations: 0.776 MB / 1.111 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/1.03, allocations: 0 / 1.111 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/1.03, allocations: 28 kB / 1.111 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/1.03, allocations: 16 kB / 1.111 GB, free: 24 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/1.032, allocations: 0.9729 MB / 1.112 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/1.036, allocations: 2.511 MB / 1.114 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/1.037, allocations: 0.6889 MB / 1.115 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/1.037, allocations: 255.3 kB / 1.115 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.129e-05/1.037, allocations: 28.45 kB / 1.115 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007228/1.038, allocations: 422.2 kB / 1.115 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 1.203e-05/1.038, allocations: 8 kB / 1.115 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001561/1.04, allocations: 0.8299 MB / 1.116 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/1.04, allocations: 247.8 kB / 1.116 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008937/1.041, allocations: 0.633 MB / 1.117 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/1.041, allocations: 41.7 kB / 1.117 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/1.041, allocations: 348.5 kB / 1.117 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/1.041, allocations: 228.7 kB / 1.118 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/1.042, allocations: 65.69 kB / 1.118 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.042, allocations: 382.9 kB / 1.118 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/1.042, allocations: 221.9 kB / 1.118 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/1.043, allocations: 337.3 kB / 1.119 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008521/1.044, allocations: 0.5173 MB / 1.119 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.044, allocations: 0 / 1.119 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001206/1.045, allocations: 0.6838 MB / 1.12 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.045, allocations: 4 kB / 1.12 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.045, allocations: 64 / 1.12 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.045, allocations: 12.16 kB / 1.12 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/1.045, allocations: 147.8 kB / 1.12 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/1.045, allocations: 15.81 kB / 1.12 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/1.046, allocations: 91.39 kB / 1.12 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/1.046, allocations: 39.97 kB / 1.12 GB, free: 6.082 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.0004005/1.047, allocations: 261.4 kB / 1.12 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/1.047, allocations: 86.91 kB / 1.12 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/1.048, allocations: 0.8368 MB / 1.121 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/1.048, allocations: 8 kB / 1.121 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.048, allocations: 7.938 kB / 1.121 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.048, allocations: 7.984 kB / 1.121 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/1.05, allocations: 0.9637 MB / 1.122 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.05, allocations: 0 / 1.122 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/1.05, allocations: 127.8 kB / 1.122 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/1.05, allocations: 7.938 kB / 1.122 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/1.05, allocations: 19.98 kB / 1.122 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/1.05, allocations: 4 kB / 1.122 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.05, allocations: 0 / 1.122 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/1.051, allocations: 0.7354 MB / 1.123 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/1.052, allocations: 275.8 kB / 1.123 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/1.052, allocations: 20 kB / 1.123 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/1.052, allocations: 67.94 kB / 1.123 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.053, allocations: 64.56 kB / 1.123 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/1.053, allocations: 31.98 kB / 1.123 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006212/1.053, allocations: 455 kB / 1.124 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/1.053, allocations: 0 / 1.124 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007902/1.054, allocations: 263.4 kB / 1.124 GB, free: 1.754 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.001534/1.056, allocations: 0.6047 MB / 1.125 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001078/1.057, allocations: 0.5795 MB / 1.125 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.057, allocations: 3.938 kB / 1.125 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005143/1.057, allocations: 319.6 kB / 1.126 GB, free: 440 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/1.058, allocations: 244.6 kB / 1.126 GB, free: 200 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/1.061, allocations: 1.818 MB / 1.128 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/1.062, allocations: 0.974 MB / 1.129 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/1.062, allocations: 107.4 kB / 1.129 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of SimCode: time 1.203e-06/1.062, allocations: 4 kB / 1.129 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of Templates: time 0.02541/1.088, allocations: 13.28 MB / 1.142 GB, free: 15.99 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches