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.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_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.001017/0.001017, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007027/0.007027, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.539/2.539, allocations: 390.9 MB / 0.6663 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004234, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7782/0.7787, allocations: 142.4 MB / 0.955 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005157/0.7839, allocations: 3.869 MB / 0.9588 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.9592, allocations: 146.6 MB / 1.102 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009586/0.9603, allocations: 11.94 kB / 1.102 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006806/0.961, allocations: 138.9 kB / 1.102 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.9628, allocations: 414.3 kB / 1.103 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.9648, allocations: 0.6514 MB / 1.103 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.9663, allocations: 1.117 MB / 1.104 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009586/0.9673, allocations: 494.4 kB / 1.105 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006784/0.968, allocations: 294.6 kB / 1.105 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.9687, allocations: 334.1 kB / 1.105 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.9688, allocations: 24 kB / 1.105 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008503/0.9697, allocations: 299.7 kB / 1.106 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.9699, allocations: 167.2 kB / 1.106 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005313/0.9704, allocations: 415.2 kB / 1.106 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.9721, allocations: 1.265 MB / 1.107 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9721, allocations: 0 / 1.107 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9721, allocations: 0 / 1.107 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.329e-05/0.9722, allocations: 4 kB / 1.107 GB, free: 2.711 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.002565/0.9747, allocations: 1.09 MB / 1.108 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.9748, allocations: 8.031 kB / 1.109 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004775/0.9753, allocations: 103.7 kB / 1.109 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.9765, allocations: 0.7033 MB / 1.109 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/0.9766, allocations: 46 kB / 1.109 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.9767, allocations: 67.98 kB / 1.109 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.9782, allocations: 0.7798 MB / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.9782, allocations: 4 kB / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.9783, allocations: 28 kB / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.9783, allocations: 16 kB / 1.11 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.9798, allocations: 0.9728 MB / 1.111 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.9838, allocations: 2.507 MB / 1.114 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.985, allocations: 0.685 MB / 1.114 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.9854, allocations: 255.3 kB / 1.115 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-05/0.9855, allocations: 24.53 kB / 1.115 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000756/0.9862, allocations: 433.3 kB / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.966e-06/0.9862, allocations: 0 / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001629/0.9879, allocations: 0.8338 MB / 1.116 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.988, allocations: 248.1 kB / 1.116 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008579/0.9889, allocations: 0.6369 MB / 1.117 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-05/0.989, allocations: 41.7 kB / 1.117 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.9893, allocations: 348.5 kB / 1.117 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.9895, allocations: 228.7 kB / 1.117 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.306e-05/0.9896, allocations: 65.69 kB / 1.117 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.9898, allocations: 382.8 kB / 1.118 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.9902, allocations: 221.9 kB / 1.118 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.9907, allocations: 337.3 kB / 1.118 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008318/0.9916, allocations: 0.5212 MB / 1.119 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.9916, allocations: 0 / 1.119 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001219/0.9928, allocations: 0.6838 MB / 1.119 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9928, allocations: 4 kB / 1.119 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.9929, allocations: 0 / 1.119 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.9929, allocations: 8 kB / 1.119 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.9934, allocations: 143.8 kB / 1.12 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.9935, allocations: 12.09 kB / 1.12 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/0.9941, allocations: 97.3 kB / 1.12 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/0.9942, allocations: 39.97 kB / 1.12 GB, free: 5.781 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.0003834/0.9946, allocations: 259.4 kB / 1.12 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.9948, allocations: 82.97 kB / 1.12 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.9963, allocations: 0.8447 MB / 1.121 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.9964, allocations: 12 kB / 1.121 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.9964, allocations: 3.938 kB / 1.121 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.9964, allocations: 3.984 kB / 1.121 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.9976, allocations: 0.9598 MB / 1.122 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9977, allocations: 0 / 1.122 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.9981, allocations: 123.8 kB / 1.122 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.9981, allocations: 7.938 kB / 1.122 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.9982, allocations: 31.95 kB / 1.122 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.9982, allocations: 4 kB / 1.122 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9982, allocations: 0 / 1.122 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.9993, allocations: 0.7276 MB / 1.123 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.9997, allocations: 275.8 kB / 1.123 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.9998, allocations: 16 kB / 1.123 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/1, allocations: 71.94 kB / 1.123 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/1.001, allocations: 72.44 kB / 1.123 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/1.001, allocations: 27.98 kB / 1.123 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006021/1.001, allocations: 459 kB / 1.124 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.001, allocations: 0 / 1.124 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007677/1.002, allocations: 263.4 kB / 1.124 GB, free: 1.449 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.001331/1.003, allocations: 0.6022 MB / 1.124 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00104/1.004, allocations: 0.5794 MB / 1.125 GB, free: 452 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.004, allocations: 320 / 1.125 GB, free: 452 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004761/1.005, allocations: 327.6 kB / 1.125 GB, free: 124 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/1.006, allocations: 248.3 kB / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/1.009, allocations: 1.777 MB / 1.127 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/1.009, allocations: 0.9799 MB / 1.128 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007617/1.01, allocations: 254.2 kB / 1.128 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/1.01, allocations: 103.3 kB / 1.128 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of SimCode: time 3.91e-07/1.01, allocations: 0 / 1.128 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of Templates: time 0.0218/1.032, allocations: 11.82 MB / 1.14 GB, free: 1.035 MB / 0.8887 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 -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/jenkins/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