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.001435/0.001435, allocations: 105.8 kB / 16.37 MB, free: 6.477 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.001567/0.001567, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.19 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.281/2.281, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 62.83 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2683, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006202/0.2745, allocations: 4.279 MB / 0.9553 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7118/0.9863, allocations: 150.5 MB / 1.102 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009747/0.9873, allocations: 16.22 kB / 1.102 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006372/0.988, allocations: 163.1 kB / 1.102 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.9898, allocations: 0.4917 MB / 1.103 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.9918, allocations: 0.7438 MB / 1.104 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001776/0.9936, allocations: 1.205 MB / 1.105 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000899/0.9945, allocations: 0.5094 MB / 1.105 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007117/0.9952, allocations: 408.7 kB / 1.106 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.9958, allocations: 421.7 kB / 1.106 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.996, allocations: 97.75 kB / 1.106 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009275/0.9969, allocations: 403.6 kB / 1.107 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.9973, allocations: 256.7 kB / 1.107 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005584/0.9978, allocations: 480.1 kB / 1.107 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/1, allocations: 1.387 MB / 1.109 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1, allocations: 0 / 1.109 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/1, allocations: 0.75 kB / 1.109 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.174e-05/1, allocations: 4 kB / 1.109 GB, free: 4.355 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.002487/1.003, allocations: 1.267 MB / 1.11 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.003, allocations: 14.73 kB / 1.11 GB, free: 19.63 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003366/1.003, allocations: 107.3 kB / 1.11 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/1.004, allocations: 0.7155 MB / 1.111 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/1.004, allocations: 51.22 kB / 1.111 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.005, allocations: 68.92 kB / 1.111 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/1.006, allocations: 0.7766 MB / 1.112 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/1.006, allocations: 0.75 kB / 1.112 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/1.006, allocations: 29.58 kB / 1.112 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/1.006, allocations: 17.62 kB / 1.112 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/1.008, allocations: 0.973 MB / 1.113 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/1.011, allocations: 2.45 MB / 1.115 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/1.012, allocations: 0.6823 MB / 1.116 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/1.013, allocations: 251.3 kB / 1.116 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.386e-05/1.013, allocations: 31.05 kB / 1.116 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000654/1.013, allocations: 427.2 kB / 1.116 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.616e-06/1.013, allocations: 3.984 kB / 1.116 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001523/1.015, allocations: 0.8348 MB / 1.117 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/1.015, allocations: 245.4 kB / 1.117 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008082/1.016, allocations: 0.6321 MB / 1.118 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/1.016, allocations: 36.83 kB / 1.118 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/1.016, allocations: 366.1 kB / 1.118 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/1.016, allocations: 229.4 kB / 1.119 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/1.016, allocations: 148.9 kB / 1.119 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.017, allocations: 382.3 kB / 1.119 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/1.017, allocations: 223 kB / 1.119 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/1.018, allocations: 336 kB / 1.12 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/1.018, allocations: 0.52 MB / 1.12 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.018, allocations: 1.094 kB / 1.12 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001084/1.019, allocations: 0.6907 MB / 1.121 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.019, allocations: 5.469 kB / 1.121 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.019, allocations: 1.938 kB / 1.121 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.019, allocations: 4.031 kB / 1.121 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/1.02, allocations: 143.8 kB / 1.121 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/1.02, allocations: 7.875 kB / 1.121 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/1.021, allocations: 96.08 kB / 1.121 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/1.021, allocations: 32.86 kB / 1.121 GB, free: 16.32 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.0003331/1.021, allocations: 256.3 kB / 1.121 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/1.021, allocations: 76.91 kB / 1.121 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/1.023, allocations: 0.8427 MB / 1.122 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.023, allocations: 8.5 kB / 1.122 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.023, allocations: 1.094 kB / 1.122 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.023, allocations: 8.719 kB / 1.122 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/1.024, allocations: 0.9714 MB / 1.123 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.024, allocations: 2.469 kB / 1.123 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/1.024, allocations: 125.7 kB / 1.123 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/1.024, allocations: 4.281 kB / 1.123 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/1.025, allocations: 28.67 kB / 1.123 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/1.025, allocations: 2.844 kB / 1.123 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.025, allocations: 0 / 1.123 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/1.026, allocations: 0.7335 MB / 1.124 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/1.026, allocations: 253.1 kB / 1.124 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.026, allocations: 28.44 kB / 1.124 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/1.027, allocations: 55.08 kB / 1.124 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/1.027, allocations: 61.55 kB / 1.124 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/1.027, allocations: 34.75 kB / 1.124 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005399/1.027, allocations: 459.8 kB / 1.125 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.253e-06/1.027, allocations: 1.062 kB / 1.125 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008794/1.028, allocations: 268.6 kB / 1.125 GB, free: 15.29 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.001342/1.03, allocations: 0.5986 MB / 1.126 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009818/1.031, allocations: 0.59 MB / 1.126 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.031, allocations: 0 / 1.126 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004467/1.031, allocations: 320.2 kB / 1.127 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009801/1.032, allocations: 269 kB / 1.127 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/1.035, allocations: 1.403 MB / 1.128 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/1.036, allocations: 0.9809 MB / 1.129 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00102/1.037, allocations: 239.4 kB / 1.129 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/1.037, allocations: 102.3 kB / 1.13 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of SimCode: time 8.62e-07/1.037, allocations: 0 / 1.13 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.03679/1.074, allocations: 12.37 MB / 1.142 GB, free: 11.9 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 gbode -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