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.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_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.001132/0.001132, allocations: 107.5 kB / 16.27 MB, free: 6.414 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.001148/0.001148, allocations: 191.5 kB / 17.2 MB, free: 5.953 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.236/2.236, allocations: 390.3 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.33 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.259, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.006479/0.2655, allocations: 4.266 MB / 0.9544 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6547/0.9203, allocations: 150.5 MB / 1.101 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009879/0.9213, allocations: 15.66 kB / 1.101 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.9219, allocations: 170 kB / 1.102 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.9237, allocations: 490.6 kB / 1.102 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.9256, allocations: 0.7439 MB / 1.103 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001881/0.9275, allocations: 1.195 MB / 1.104 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009113/0.9285, allocations: 0.5172 MB / 1.104 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008356/0.9293, allocations: 401.6 kB / 1.105 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007377/0.9301, allocations: 425.2 kB / 1.105 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.9303, allocations: 98.34 kB / 1.105 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.9313, allocations: 370.9 kB / 1.106 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.9316, allocations: 260.5 kB / 1.106 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005964/0.9322, allocations: 481.6 kB / 1.106 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.9344, allocations: 1.357 MB / 1.108 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.9345, allocations: 0 / 1.108 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.494e-06/0.9345, allocations: 0 / 1.108 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.774e-05/0.9345, allocations: 1.094 kB / 1.108 GB, free: 4.215 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.002925/0.9374, allocations: 1.268 MB / 1.109 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.9375, allocations: 10.77 kB / 1.109 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004094/0.9379, allocations: 105.6 kB / 1.109 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.939, allocations: 0.6959 MB / 1.11 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.636e-05/0.9391, allocations: 51.48 kB / 1.11 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.9393, allocations: 64.59 kB / 1.11 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.9408, allocations: 0.7744 MB / 1.111 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.9408, allocations: 6.562 kB / 1.111 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.727e-05/0.9409, allocations: 29.17 kB / 1.111 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.9409, allocations: 18.17 kB / 1.111 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.9425, allocations: 0.9702 MB / 1.112 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004049/0.9466, allocations: 2.483 MB / 1.114 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.948, allocations: 0.6831 MB / 1.115 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.9484, allocations: 252.8 kB / 1.115 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.577e-05/0.9485, allocations: 24.53 kB / 1.115 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007932/0.9493, allocations: 422.7 kB / 1.115 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.817e-06/0.9493, allocations: 6.438 kB / 1.115 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001698/0.951, allocations: 0.8346 MB / 1.116 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.9512, allocations: 244.2 kB / 1.116 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008908/0.9521, allocations: 0.6321 MB / 1.117 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/0.9521, allocations: 41.62 kB / 1.117 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.9525, allocations: 357.6 kB / 1.117 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.9526, allocations: 226.5 kB / 1.118 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.9529, allocations: 154.9 kB / 1.118 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.9531, allocations: 385.2 kB / 1.118 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.9535, allocations: 224.3 kB / 1.118 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.954, allocations: 335.2 kB / 1.119 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008027/0.9548, allocations: 0.5223 MB / 1.119 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.9548, allocations: 4.062 kB / 1.119 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001285/0.9561, allocations: 0.6832 MB / 1.12 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.9562, allocations: 5.812 kB / 1.12 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.9562, allocations: 5.156 kB / 1.12 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.9562, allocations: 5.5 kB / 1.12 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.9568, allocations: 142 kB / 1.12 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.9568, allocations: 5.5 kB / 1.12 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.9575, allocations: 92.91 kB / 1.12 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.9575, allocations: 32.73 kB / 1.12 GB, free: 16.29 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.0004237/0.958, allocations: 259.8 kB / 1.12 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.9581, allocations: 79.77 kB / 1.12 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.9598, allocations: 0.8516 MB / 1.121 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.9599, allocations: 8.156 kB / 1.121 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.9599, allocations: 1.062 kB / 1.121 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.9599, allocations: 9.641 kB / 1.121 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.9613, allocations: 0.9629 MB / 1.122 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.9614, allocations: 1.156 kB / 1.122 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.9618, allocations: 126.4 kB / 1.122 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.9618, allocations: 4.906 kB / 1.122 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.9619, allocations: 30.58 kB / 1.122 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.9619, allocations: 3.625 kB / 1.122 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9619, allocations: 3.312 kB / 1.122 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.9631, allocations: 0.7278 MB / 1.123 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.9634, allocations: 256.9 kB / 1.123 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.9635, allocations: 21.53 kB / 1.123 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/0.964, allocations: 58.62 kB / 1.123 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.9642, allocations: 56.61 kB / 1.124 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.9642, allocations: 33.8 kB / 1.124 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005772/0.9648, allocations: 455.7 kB / 1.124 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9648, allocations: 2.812 kB / 1.124 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000886/0.9657, allocations: 267.6 kB / 1.124 GB, free: 15.27 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.001371/0.9671, allocations: 0.6096 MB / 1.125 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.9687, allocations: 0.7602 MB / 1.126 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9687, allocations: 2.547 kB / 1.126 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.9693, allocations: 322.2 kB / 1.126 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.9705, allocations: 258.3 kB / 1.126 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.973, allocations: 1.471 MB / 1.128 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.9737, allocations: 0.9752 MB / 1.129 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.974, allocations: 112.6 kB / 1.129 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.974, allocations: 0 / 1.129 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of Templates: time 0.02795/1.002, allocations: 13.38 MB / 1.142 GB, free: 11.43 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 -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