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.001629/0.001628, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001705/0.001704, allocations: 196.6 kB / 16.25 MB, free: 6.625 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.372/2.372, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7634, allocations: 140.4 MB / 0.9491 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005479/0.7689, allocations: 4.274 MB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.9442, allocations: 148.3 MB / 1.098 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.9453, allocations: 19.88 kB / 1.098 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.9458, allocations: 139 kB / 1.098 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.9476, allocations: 423 kB / 1.099 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.9495, allocations: 0.6763 MB / 1.099 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.9509, allocations: 1.207 MB / 1.1 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007248/0.9516, allocations: 0.4984 MB / 1.101 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.9521, allocations: 410.5 kB / 1.101 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.9526, allocations: 422.1 kB / 1.102 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.9527, allocations: 96 kB / 1.102 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006962/0.9534, allocations: 375.7 kB / 1.102 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.9537, allocations: 259.2 kB / 1.102 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.9541, allocations: 481.5 kB / 1.103 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.9557, allocations: 1.363 MB / 1.104 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.9558, allocations: 0 / 1.104 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9558, allocations: 0 / 1.104 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.9558, allocations: 0 / 1.104 GB, free: 2.59 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.00235/0.9581, allocations: 1.265 MB / 1.105 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.9582, allocations: 12.03 kB / 1.106 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003672/0.9586, allocations: 107.7 kB / 1.106 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.9596, allocations: 0.6917 MB / 1.106 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.9597, allocations: 50 kB / 1.106 GB, free: 380 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/0.9598, allocations: 71.94 kB / 1.106 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.9611, allocations: 0.7721 MB / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.9611, allocations: 0 / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-05/0.9612, allocations: 35.98 kB / 1.107 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.9612, allocations: 16 kB / 1.107 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.9626, allocations: 0.9728 MB / 1.108 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003386/0.966, allocations: 2.482 MB / 1.111 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.9672, allocations: 0.6837 MB / 1.111 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.9676, allocations: 243.3 kB / 1.111 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.336e-05/0.9677, allocations: 32.52 kB / 1.112 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007376/0.9684, allocations: 430.3 kB / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 1.863e-06/0.9684, allocations: 0 / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001515/0.9699, allocations: 0.8351 MB / 1.113 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.9701, allocations: 247.8 kB / 1.113 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007854/0.9709, allocations: 0.633 MB / 1.114 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.119e-05/0.971, allocations: 37.7 kB / 1.114 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.9713, allocations: 356.5 kB / 1.114 GB, free: 8.285 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.9714, allocations: 232.7 kB / 1.114 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.9717, allocations: 154.7 kB / 1.114 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.9719, allocations: 386.8 kB / 1.115 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.9723, allocations: 221.9 kB / 1.115 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/0.9729, allocations: 329.4 kB / 1.115 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008063/0.9737, allocations: 0.5173 MB / 1.116 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9737, allocations: 0 / 1.116 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001181/0.9749, allocations: 0.6876 MB / 1.116 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.9749, allocations: 8.156 kB / 1.116 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9749, allocations: 11.92 kB / 1.116 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/0.975, allocations: 4 kB / 1.116 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.9755, allocations: 147.8 kB / 1.117 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.9755, allocations: 11.94 kB / 1.117 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.9761, allocations: 81.42 kB / 1.117 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.9762, allocations: 32.09 kB / 1.117 GB, free: 5.43 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.0004106/0.9766, allocations: 267.3 kB / 1.117 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.9768, allocations: 79.06 kB / 1.117 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.9784, allocations: 0.8485 MB / 1.118 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.9784, allocations: 8 kB / 1.118 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.9784, allocations: 3.938 kB / 1.118 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.9784, allocations: 3.984 kB / 1.118 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.9796, allocations: 0.9598 MB / 1.119 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.9796, allocations: 4 kB / 1.119 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.9801, allocations: 119.8 kB / 1.119 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.9801, allocations: 11.95 kB / 1.119 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/0.9802, allocations: 23.98 kB / 1.119 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.9802, allocations: 4 kB / 1.119 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.9802, allocations: 0 / 1.119 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.9814, allocations: 0.7316 MB / 1.12 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.9818, allocations: 263.8 kB / 1.12 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.9819, allocations: 16 kB / 1.12 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.9824, allocations: 59.94 kB / 1.12 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.9826, allocations: 56.58 kB / 1.12 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.9826, allocations: 31.97 kB / 1.12 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005677/0.9832, allocations: 455 kB / 1.121 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9832, allocations: 0 / 1.121 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007414/0.984, allocations: 275.4 kB / 1.121 GB, free: 1.121 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.001411/0.9854, allocations: 0.5948 MB / 1.121 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.9871, allocations: 0.7628 MB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9871, allocations: 0 / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004811/0.9876, allocations: 323.6 kB / 1.122 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.9887, allocations: 273.9 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.9913, allocations: 1.761 MB / 1.124 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.9919, allocations: 0.9757 MB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007688/0.9926, allocations: 246.3 kB / 1.126 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.9929, allocations: 103.4 kB / 1.126 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of SimCode: time 7.31e-07/0.9929, allocations: 0 / 1.126 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of Templates: time 0.02281/1.016, allocations: 12.28 MB / 1.138 GB, free: 108 kB / 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