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.0008277/0.0008276, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009963/0.0009963, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240 MB, free: 5.43 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.536/2.536, allocations: 390.9 MB / 0.666 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 12 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7922, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.004741/0.797, allocations: 3.669 MB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.9644, allocations: 136.7 MB / 1.092 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007682/0.9652, allocations: 15.94 kB / 1.092 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.9657, allocations: 127 kB / 1.092 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.9671, allocations: 398.8 kB / 1.092 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.9687, allocations: 0.5732 MB / 1.093 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.9698, allocations: 1.023 MB / 1.094 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005382/0.9703, allocations: 379.1 kB / 1.094 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004071/0.9707, allocations: 282.7 kB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.9712, allocations: 323.3 kB / 1.095 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.822e-05/0.9712, allocations: 24 kB / 1.095 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.9718, allocations: 267.8 kB / 1.095 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.972, allocations: 163.3 kB / 1.095 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.9722, allocations: 177.2 kB / 1.095 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009342/0.9731, allocations: 1.001 MB / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9731, allocations: 0 / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9731, allocations: 0 / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.9732, allocations: 0 / 1.096 GB, free: 13.98 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.001899/0.9751, allocations: 1.106 MB / 1.097 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.9751, allocations: 8.031 kB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.9754, allocations: 102.8 kB / 1.097 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009275/0.9763, allocations: 0.6642 MB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.439e-05/0.9764, allocations: 57.98 kB / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.9765, allocations: 60 kB / 1.098 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.9776, allocations: 0.7698 MB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.9777, allocations: 0 / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.9777, allocations: 35.95 kB / 1.099 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.9778, allocations: 20 kB / 1.099 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.979, allocations: 0.965 MB / 1.1 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.9823, allocations: 2.503 MB / 1.102 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.9834, allocations: 0.6721 MB / 1.103 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.9838, allocations: 251.3 kB / 1.103 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.409e-05/0.9839, allocations: 28.52 kB / 1.103 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006508/0.9845, allocations: 419.5 kB / 1.104 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=70): time 4.208e-06/0.9845, allocations: 112 / 1.104 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70): time 0.001387/0.9859, allocations: 0.8376 MB / 1.104 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.9861, allocations: 239.9 kB / 1.105 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000753/0.9868, allocations: 0.6332 MB / 1.105 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.9869, allocations: 37.7 kB / 1.105 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.9871, allocations: 364.4 kB / 1.106 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.9873, allocations: 224.8 kB / 1.106 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.9874, allocations: 12 kB / 1.106 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9875, allocations: 382.8 kB / 1.106 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.9879, allocations: 217.9 kB / 1.106 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.9884, allocations: 341.3 kB / 1.107 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.9888, allocations: 251.2 kB / 1.107 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.9889, allocations: 0 / 1.107 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001071/0.9899, allocations: 0.6837 MB / 1.108 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.99, allocations: 4 kB / 1.108 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.99, allocations: 0 / 1.108 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.99, allocations: 8 kB / 1.108 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.9906, allocations: 143.8 kB / 1.108 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.9906, allocations: 11.92 kB / 1.108 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.9912, allocations: 95.69 kB / 1.108 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.9913, allocations: 43.92 kB / 1.108 GB, free: 1.465 MB / 0.8575 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004949/0.9918, allocations: 251.2 kB / 1.108 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.9919, allocations: 83.05 kB / 1.108 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.9936, allocations: 0.8561 MB / 1.109 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.9937, allocations: 8 kB / 1.109 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.9937, allocations: 4 kB / 1.109 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.9937, allocations: 3.984 kB / 1.109 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.9951, allocations: 0.9675 MB / 1.11 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.9951, allocations: 0 / 1.11 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.9956, allocations: 123.8 kB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.9956, allocations: 4 kB / 1.11 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.9956, allocations: 23.98 kB / 1.11 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.9957, allocations: 4 kB / 1.11 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9957, allocations: 0 / 1.11 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.9968, allocations: 0.7354 MB / 1.111 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.9972, allocations: 275.8 kB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.9973, allocations: 19.92 kB / 1.111 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.9978, allocations: 73.92 kB / 1.111 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.9979, allocations: 60.56 kB / 1.111 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.998, allocations: 31.94 kB / 1.111 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005214/0.9985, allocations: 451 kB / 1.112 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9985, allocations: 0 / 1.112 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007359/0.9992, allocations: 271.4 kB / 1.112 GB, free: 13.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/1.001, allocations: 0.597 MB / 1.113 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009866/1.002, allocations: 0.5755 MB / 1.113 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.002, allocations: 0 / 1.113 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004467/1.002, allocations: 323.6 kB / 1.114 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009576/1.003, allocations: 229 kB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/1.006, allocations: 1.718 MB / 1.115 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/1.006, allocations: 0.9798 MB / 1.116 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006917/1.007, allocations: 250.2 kB / 1.117 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/1.007, allocations: 99.39 kB / 1.117 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of SimCode: time 8.41e-07/1.007, allocations: 0 / 1.117 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of Templates: time 0.02006/1.027, allocations: 11.47 MB / 1.128 GB, free: 13.2 MB / 0.8887 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 -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/jenkins/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