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.001558/0.001558, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.321/2.321, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.7007, allocations: 140.3 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005589/0.7064, allocations: 4.272 MB / 0.9537 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1737/0.8801, allocations: 150.5 MB / 1.101 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.8813, allocations: 19.88 kB / 1.101 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006675/0.8819, allocations: 162.5 kB / 1.101 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.8841, allocations: 489 kB / 1.101 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.8862, allocations: 0.7563 MB / 1.102 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.8877, allocations: 1.191 MB / 1.103 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.8885, allocations: 0.5101 MB / 1.104 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005516/0.8891, allocations: 398.6 kB / 1.104 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.8896, allocations: 426.1 kB / 1.105 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.8898, allocations: 96 kB / 1.105 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008105/0.8906, allocations: 371.7 kB / 1.105 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.8908, allocations: 255.2 kB / 1.105 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.8912, allocations: 473.5 kB / 1.106 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.8927, allocations: 1.359 MB / 1.107 GB, free: 48 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8928, allocations: 4 kB / 1.107 GB, free: 44 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8928, allocations: 0 / 1.107 GB, free: 44 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.8928, allocations: 0 / 1.107 GB, free: 44 kB / 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.002176/0.895, allocations: 1.273 MB / 1.108 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.895, allocations: 8.031 kB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.8953, allocations: 111.7 kB / 1.108 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009562/0.8963, allocations: 0.6916 MB / 1.109 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/0.8964, allocations: 62 kB / 1.109 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-05/0.8965, allocations: 64 kB / 1.109 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.8977, allocations: 0.772 MB / 1.11 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.8977, allocations: 4 kB / 1.11 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/0.8978, allocations: 32 kB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.8978, allocations: 16 kB / 1.11 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.8991, allocations: 0.965 MB / 1.111 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.9023, allocations: 2.497 MB / 1.113 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.9034, allocations: 0.6838 MB / 1.114 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.9038, allocations: 251.3 kB / 1.114 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.025e-05/0.9039, allocations: 28.5 kB / 1.114 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007203/0.9046, allocations: 426.3 kB / 1.115 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.204e-06/0.9046, allocations: 0 / 1.115 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001567/0.9062, allocations: 0.8311 MB / 1.116 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.9064, allocations: 251.8 kB / 1.116 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/0.9072, allocations: 0.633 MB / 1.116 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.9072, allocations: 37.7 kB / 1.116 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.9076, allocations: 364.6 kB / 1.117 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.9078, allocations: 224.8 kB / 1.117 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.908, allocations: 154.5 kB / 1.117 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.9082, allocations: 378.8 kB / 1.117 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.9086, allocations: 221.9 kB / 1.118 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.9091, allocations: 337.4 kB / 1.118 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/0.91, allocations: 0.5134 MB / 1.119 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.91, allocations: 0 / 1.119 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001128/0.9111, allocations: 0.6916 MB / 1.119 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.9111, allocations: 5.719 kB / 1.119 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9111, allocations: 0 / 1.119 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.9112, allocations: 8 kB / 1.119 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.9117, allocations: 147.7 kB / 1.119 GB, free: 3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.9117, allocations: 7.938 kB / 1.119 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.9123, allocations: 87.55 kB / 1.119 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.9124, allocations: 31.97 kB / 1.119 GB, free: 2.875 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.0003847/0.9128, allocations: 259.4 kB / 1.12 GB, free: 2.613 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.9129, allocations: 75.06 kB / 1.12 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.9144, allocations: 0.8524 MB / 1.121 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.9144, allocations: 8 kB / 1.121 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.9145, allocations: 3.938 kB / 1.121 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.9145, allocations: 11.92 kB / 1.121 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.9156, allocations: 0.9598 MB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9156, allocations: 4.031 kB / 1.122 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.916, allocations: 127.8 kB / 1.122 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.916, allocations: 7.938 kB / 1.122 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.9161, allocations: 19.98 kB / 1.122 GB, free: 488 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.9161, allocations: 4 kB / 1.122 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9161, allocations: 0 / 1.122 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.9172, allocations: 0.7316 MB / 1.122 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.9175, allocations: 267.8 kB / 1.123 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.9176, allocations: 20 kB / 1.123 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.9181, allocations: 51.94 kB / 1.123 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.9182, allocations: 60.58 kB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/0.9183, allocations: 31.97 kB / 1.123 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005203/0.9188, allocations: 455 kB / 1.123 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9188, allocations: 7.938 kB / 1.123 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006945/0.9195, allocations: 267.4 kB / 1.124 GB, free: 14.56 MB / 0.8887 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.001352/0.9209, allocations: 0.5913 MB / 1.124 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.9225, allocations: 0.759 MB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9225, allocations: 0 / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004802/0.923, allocations: 323.9 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.9241, allocations: 272.5 kB / 1.125 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.9263, allocations: 1.428 MB / 1.127 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.9268, allocations: 0.9835 MB / 1.128 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006967/0.9275, allocations: 242.3 kB / 1.128 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.9277, allocations: 99.39 kB / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of SimCode: time 4.71e-07/0.9277, allocations: 0 / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of Templates: time 0.02078/0.9485, allocations: 12.39 MB / 1.14 GB, free: 13.77 MB / 0.9044 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