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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001448/0.001448, allocations: 199 kB / 16.14 MB, free: 6.645 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.448/2.448, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 60.09 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7291, allocations: 140.4 MB / 0.9489 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005642/0.7348, allocations: 4.274 MB / 0.9531 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1832/0.918, allocations: 148.2 MB / 1.098 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.9191, allocations: 19.94 kB / 1.098 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.9198, allocations: 135 kB / 1.098 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.9217, allocations: 409.9 kB / 1.098 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.9236, allocations: 0.6507 MB / 1.099 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.9249, allocations: 1.117 MB / 1.1 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007305/0.9257, allocations: 0.5101 MB / 1.101 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004882/0.9262, allocations: 338.5 kB / 1.101 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.9267, allocations: 394.1 kB / 1.101 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.9268, allocations: 40 kB / 1.101 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008631/0.9277, allocations: 323.7 kB / 1.102 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.9279, allocations: 203.2 kB / 1.102 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.9283, allocations: 429.4 kB / 1.102 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.9297, allocations: 1.308 MB / 1.104 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9297, allocations: 0 / 1.104 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9297, allocations: 0 / 1.104 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.705e-05/0.9297, allocations: 0 / 1.104 GB, free: 3.223 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.00223/0.932, allocations: 1.269 MB / 1.105 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.932, allocations: 12.03 kB / 1.105 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002958/0.9323, allocations: 107.7 kB / 1.105 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.9333, allocations: 0.6916 MB / 1.106 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.9333, allocations: 54 kB / 1.106 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-05/0.9334, allocations: 64 kB / 1.106 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.9346, allocations: 0.7721 MB / 1.106 GB, free: 108 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.9346, allocations: 3.938 kB / 1.106 GB, free: 104 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.9347, allocations: 35.98 kB / 1.106 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.9347, allocations: 16 kB / 1.106 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.9361, allocations: 0.969 MB / 1.107 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.9392, allocations: 2.487 MB / 1.11 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.9404, allocations: 0.6799 MB / 1.111 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.9408, allocations: 247.3 kB / 1.111 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.839e-05/0.9409, allocations: 28.52 kB / 1.111 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007269/0.9416, allocations: 422.3 kB / 1.111 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.405e-06/0.9416, allocations: 0 / 1.111 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001512/0.9431, allocations: 0.835 MB / 1.112 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.9432, allocations: 255.9 kB / 1.112 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007069/0.944, allocations: 0.6291 MB / 1.113 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.944, allocations: 41.7 kB / 1.113 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.9443, allocations: 356.5 kB / 1.113 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.9444, allocations: 224.8 kB / 1.113 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.9447, allocations: 158.7 kB / 1.114 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.9448, allocations: 382.8 kB / 1.114 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.9452, allocations: 221.9 kB / 1.114 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.9457, allocations: 329.4 kB / 1.114 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/0.9465, allocations: 0.5251 MB / 1.115 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9465, allocations: 0 / 1.115 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001136/0.9476, allocations: 0.6837 MB / 1.116 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.9476, allocations: 12.16 kB / 1.116 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.9477, allocations: 0 / 1.116 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.9477, allocations: 4 kB / 1.116 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.9483, allocations: 143.8 kB / 1.116 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.9483, allocations: 15.92 kB / 1.116 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.9489, allocations: 80.94 kB / 1.116 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.949, allocations: 35.97 kB / 1.116 GB, free: 6.07 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.0003736/0.9494, allocations: 259.4 kB / 1.116 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.9495, allocations: 83.06 kB / 1.116 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.9511, allocations: 0.8485 MB / 1.117 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.9511, allocations: 8 kB / 1.117 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.9511, allocations: 3.938 kB / 1.117 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.9511, allocations: 3.984 kB / 1.117 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.9522, allocations: 0.9675 MB / 1.118 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.9522, allocations: 0 / 1.118 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.9526, allocations: 123.9 kB / 1.118 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.9526, allocations: 3.938 kB / 1.118 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.9527, allocations: 28.02 kB / 1.118 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.9527, allocations: 7.938 kB / 1.118 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.9527, allocations: 0 / 1.118 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.9539, allocations: 0.7316 MB / 1.119 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.9542, allocations: 263.8 kB / 1.119 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.9543, allocations: 12 kB / 1.119 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.9548, allocations: 59.94 kB / 1.119 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.9549, allocations: 60.52 kB / 1.119 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.955, allocations: 31.97 kB / 1.119 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005093/0.9555, allocations: 451 kB / 1.12 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9555, allocations: 0 / 1.12 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007393/0.9563, allocations: 275.4 kB / 1.12 GB, free: 1.762 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.001474/0.9578, allocations: 0.6031 MB / 1.121 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.9588, allocations: 0.5794 MB / 1.121 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9588, allocations: 4 kB / 1.121 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.9593, allocations: 323.6 kB / 1.122 GB, free: 448 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.9603, allocations: 244.8 kB / 1.122 GB, free: 212 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.9627, allocations: 1.764 MB / 1.123 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.9633, allocations: 0.9799 MB / 1.124 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007398/0.9641, allocations: 246.3 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.9643, allocations: 99.39 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of SimCode: time 1.954e-06/0.9643, allocations: 0 / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of Templates: time 0.01966/0.984, allocations: 11.91 MB / 1.136 GB, free: 1.316 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