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.002636/0.002636, allocations: 116.3 kB / 16.37 MB, free: 6.004 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.002344/0.002345, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 61.19 kB / 0.814 GB, free: 32.83 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2986, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006401/0.3051, allocations: 4.26 MB / 0.9553 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7615/1.067, allocations: 150.5 MB / 1.102 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008522/1.068, allocations: 22.75 kB / 1.102 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005783/1.068, allocations: 158.1 kB / 1.102 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/1.07, allocations: 0.49 MB / 1.103 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/1.072, allocations: 0.7443 MB / 1.104 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001831/1.073, allocations: 1.206 MB / 1.105 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008461/1.074, allocations: 0.5134 MB / 1.105 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008414/1.075, allocations: 402.2 kB / 1.106 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007486/1.076, allocations: 425.9 kB / 1.106 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/1.076, allocations: 97.38 kB / 1.106 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009856/1.077, allocations: 399.7 kB / 1.107 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/1.077, allocations: 262.3 kB / 1.107 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005457/1.078, allocations: 475.1 kB / 1.107 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002172/1.08, allocations: 1.394 MB / 1.109 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.08, allocations: 1.203 kB / 1.109 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.405e-06/1.08, allocations: 0 / 1.109 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.61e-05/1.08, allocations: 1.062 kB / 1.109 GB, free: 4.797 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.002743/1.083, allocations: 1.27 MB / 1.11 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.083, allocations: 9.375 kB / 1.11 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/1.083, allocations: 107.7 kB / 1.11 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/1.085, allocations: 0.7151 MB / 1.111 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/1.085, allocations: 51.17 kB / 1.111 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.085, allocations: 71.17 kB / 1.111 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/1.086, allocations: 0.7719 MB / 1.112 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/1.086, allocations: 1.203 kB / 1.112 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/1.086, allocations: 32.92 kB / 1.112 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/1.086, allocations: 21.16 kB / 1.112 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/1.088, allocations: 0.9668 MB / 1.113 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/1.092, allocations: 2.451 MB / 1.115 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/1.093, allocations: 0.6853 MB / 1.116 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/1.093, allocations: 251.8 kB / 1.116 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.392e-05/1.093, allocations: 30.67 kB / 1.116 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007137/1.094, allocations: 425.9 kB / 1.116 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.505e-06/1.094, allocations: 0 / 1.116 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.00168/1.096, allocations: 0.8337 MB / 1.117 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002435/1.096, allocations: 242.5 kB / 1.117 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009179/1.097, allocations: 0.631 MB / 1.118 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/1.097, allocations: 41.14 kB / 1.118 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/1.097, allocations: 359.2 kB / 1.118 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/1.098, allocations: 230.7 kB / 1.119 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/1.098, allocations: 157.2 kB / 1.119 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.098, allocations: 383.1 kB / 1.119 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/1.098, allocations: 219.5 kB / 1.119 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/1.099, allocations: 335 kB / 1.12 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008149/1.1, allocations: 0.5214 MB / 1.12 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.1, allocations: 1.25 kB / 1.12 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001335/1.101, allocations: 0.6852 MB / 1.121 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.101, allocations: 5.969 kB / 1.121 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.101, allocations: 1.125 kB / 1.121 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/1.101, allocations: 7.719 kB / 1.121 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/1.102, allocations: 144.7 kB / 1.121 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.102, allocations: 4.469 kB / 1.121 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007293/1.102, allocations: 89.34 kB / 1.121 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/1.103, allocations: 36.09 kB / 1.121 GB, free: 16.77 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.0005531/1.103, allocations: 258.3 kB / 1.121 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/1.103, allocations: 79.88 kB / 1.121 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/1.105, allocations: 0.8434 MB / 1.122 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.105, allocations: 8.25 kB / 1.122 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.105, allocations: 1.312 kB / 1.122 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/1.105, allocations: 11 kB / 1.122 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/1.107, allocations: 0.9616 MB / 1.123 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.107, allocations: 6.594 kB / 1.123 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/1.107, allocations: 126.3 kB / 1.123 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/1.107, allocations: 3.312 kB / 1.123 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/1.107, allocations: 26.52 kB / 1.123 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.107, allocations: 4.5 kB / 1.123 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.107, allocations: 3.938 kB / 1.123 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/1.108, allocations: 0.7276 MB / 1.124 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/1.109, allocations: 261.4 kB / 1.124 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/1.109, allocations: 26.67 kB / 1.124 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/1.109, allocations: 55.59 kB / 1.124 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.109, allocations: 58.98 kB / 1.124 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/1.109, allocations: 32 kB / 1.124 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000608/1.11, allocations: 456.4 kB / 1.125 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.11, allocations: 4 kB / 1.125 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009676/1.111, allocations: 270 kB / 1.125 GB, free: 15.73 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.001361/1.112, allocations: 0.6093 MB / 1.126 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001038/1.113, allocations: 0.5831 MB / 1.126 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.114, allocations: 1.125 kB / 1.126 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004767/1.114, allocations: 326.2 kB / 1.127 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.115, allocations: 256.9 kB / 1.127 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/1.118, allocations: 1.402 MB / 1.128 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/1.118, allocations: 0.9763 MB / 1.129 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008749/1.119, allocations: 250.1 kB / 1.129 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/1.12, allocations: 100.6 kB / 1.13 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of SimCode: time 1.363e-06/1.12, allocations: 0 / 1.13 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.02325/1.143, allocations: 12.36 MB / 1.142 GB, free: 12.39 MB / 0.8731 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 -s cvode -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