Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001141/0.001141, allocations: 186.9 kB / 16.25 MB, free: 6.586 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.184/1.184, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.064/2.064, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4846/0.4858, allocations: 140.4 MB / 0.9492 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001672/0.4875, allocations: 1.331 MB / 0.9505 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006846/0.4882, allocations: 0.7149 MB / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.4882, allocations: 0.9375 kB / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.4882, allocations: 0 / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.4884, allocations: 11.47 kB / 0.9512 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.4885, allocations: 46.12 kB / 0.9513 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.594e-05/0.4886, allocations: 28.56 kB / 0.9513 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.4886, allocations: 1.375 kB / 0.9513 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.4887, allocations: 15.39 kB / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.4888, allocations: 10.23 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.4888, allocations: 5.094 kB / 0.9513 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.521e-05/0.4889, allocations: 4.469 kB / 0.9513 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.4889, allocations: 14.34 kB / 0.9514 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.4889, allocations: 7.906 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.661e-05/0.489, allocations: 22.11 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.489, allocations: 0 / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.489, allocations: 1.406 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.489, allocations: 0 / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002111/0.4892, allocations: 336.4 kB / 0.9517 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.4893, allocations: 9.938 kB / 0.9517 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.4893, allocations: 110 kB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.4894, allocations: 77.44 kB / 0.9519 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.454e-05/0.4894, allocations: 252.8 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.4894, allocations: 156.2 kB / 0.9523 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.4895, allocations: 152.2 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.103e-05/0.4895, allocations: 105.5 kB / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4895, allocations: 79.22 kB / 0.9526 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.4895, allocations: 155.9 kB / 0.9528 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.4896, allocations: 150.6 kB / 0.9529 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.4896, allocations: 156 kB / 0.9531 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.4897, allocations: 448.7 kB / 0.9535 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.44e-05/0.4898, allocations: 171.9 kB / 0.9536 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.202e-05/0.4898, allocations: 84.08 kB / 0.9537 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-06/0.4898, allocations: 75.28 kB / 0.9538 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.4898, allocations: 115.4 kB / 0.9539 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.4898, allocations: 0 / 0.9539 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.461e-05/0.4899, allocations: 35.06 kB / 0.9539 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.4899, allocations: 128.2 kB / 0.9541 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.067e-05/0.49, allocations: 109.3 kB / 0.9542 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-06/0.49, allocations: 26.89 kB / 0.9542 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.703e-05/0.49, allocations: 80.14 kB / 0.9543 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.49, allocations: 1 kB / 0.9543 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.4901, allocations: 13.81 kB / 0.9543 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.2e-05/0.4901, allocations: 315.9 kB / 0.9546 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.4901, allocations: 7.266 kB / 0.9546 GB, free: 4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.4901, allocations: 10.19 kB / 0.9546 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.659e-05/0.4902, allocations: 20.19 kB / 0.9546 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4902, allocations: 1.344 kB / 0.9546 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.072e-05/0.4903, allocations: 39.92 kB / 0.9547 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.4903, allocations: 8.625 kB / 0.9547 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4903, allocations: 2.156 kB / 0.9547 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.4903, allocations: 0 / 0.9547 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.4903, allocations: 4 kB / 0.9547 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.4903, allocations: 0 / 0.9547 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.4904, allocations: 9.609 kB / 0.9547 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4904, allocations: 1.719 kB / 0.9547 GB, free: 3.93 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 4.587e-05/0.4905, allocations: 182.9 kB / 0.9549 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.4905, allocations: 114.3 kB / 0.955 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.4905, allocations: 117.6 kB / 0.9551 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.4906, allocations: 177.3 kB / 0.9553 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.4906, allocations: 185.4 kB / 0.9554 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.4906, allocations: 177.4 kB / 0.9556 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.4907, allocations: 413.2 kB / 0.956 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.4907, allocations: 105 kB / 0.9561 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.4907, allocations: 106.1 kB / 0.9562 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-05/0.4908, allocations: 185.2 kB / 0.9564 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4908, allocations: 185.5 kB / 0.9565 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/0.4908, allocations: 181.4 kB / 0.9567 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.687e-05/0.4908, allocations: 188.2 kB / 0.9569 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.677e-05/0.4909, allocations: 299.8 kB / 0.9572 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.4909, allocations: 188.5 kB / 0.9574 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.4909, allocations: 189.4 kB / 0.9575 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.491, allocations: 101 kB / 0.9576 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.491, allocations: 181.4 kB / 0.9578 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.491, allocations: 106.2 kB / 0.9579 GB, free: 428 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.4911, allocations: 84.44 kB / 0.958 GB, free: 348 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4911, allocations: 4 kB / 0.958 GB, free: 344 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002047/0.4913, allocations: 4.188 kB / 0.958 GB, free: 344 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003639/0.4916, allocations: 0.8318 MB / 0.9588 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.48e-05/0.4917, allocations: 5.156 kB / 0.9588 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4917, allocations: 0 / 0.9588 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.4917, allocations: 0 / 0.9588 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.492, allocations: 454.3 kB / 0.9593 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.4928, allocations: 1.301 MB / 0.9605 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.493, allocations: 0.6794 MB / 0.9612 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.497e-05/0.493, allocations: 1.281 kB / 0.9612 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.493, allocations: 8.875 kB / 0.9612 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.4931, allocations: 0 / 0.9612 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.5048, allocations: 1.176 MB / 0.9623 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.505, allocations: 238.4 kB / 0.9626 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.046, allocations: 2.953 kB / 0.9626 GB, free: 12.2 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches