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.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: "" <> 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.00117/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001123/0.001123, allocations: 190.5 kB / 16.14 MB, free: 6.711 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.16/1.16, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.021/2.021, allocations: 390.3 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 71.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4649, allocations: 140.4 MB / 0.949 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001863/0.4668, allocations: 1.32 MB / 0.9503 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.4676, allocations: 0.7149 MB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.4676, allocations: 0 / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.4676, allocations: 1.438 kB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.4678, allocations: 10.48 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.4679, allocations: 49.78 kB / 0.9511 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.944e-05/0.468, allocations: 28.16 kB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.468, allocations: 9.422 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.85e-05/0.4681, allocations: 11.16 kB / 0.9511 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.4682, allocations: 13.83 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.4682, allocations: 5.219 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.334e-05/0.4683, allocations: 13.45 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.4683, allocations: 2.75 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.4683, allocations: 15.92 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.459e-05/0.4684, allocations: 17.59 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4684, allocations: 1.375 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.31e-07/0.4684, allocations: 0 / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4684, allocations: 4 kB / 0.9512 GB, free: 7.406 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.0002082/0.4686, allocations: 331.3 kB / 0.9515 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.4687, allocations: 13.56 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.944e-05/0.4687, allocations: 110 kB / 0.9516 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.4687, allocations: 77.59 kB / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.375e-05/0.4688, allocations: 246.3 kB / 0.952 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.4688, allocations: 158.9 kB / 0.9521 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.4689, allocations: 160.3 kB / 0.9523 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.913e-05/0.4689, allocations: 110.9 kB / 0.9524 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4689, allocations: 79.22 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4689, allocations: 150.6 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.4689, allocations: 150.6 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.469, allocations: 159.9 kB / 0.9529 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.4691, allocations: 450.1 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.294e-05/0.4692, allocations: 165.1 kB / 0.9535 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.28e-05/0.4692, allocations: 86.98 kB / 0.9536 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.4692, allocations: 75.28 kB / 0.9536 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.4692, allocations: 115.2 kB / 0.9537 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.4692, allocations: 0 / 0.9537 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.367e-05/0.4693, allocations: 31.02 kB / 0.9538 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.4693, allocations: 128.1 kB / 0.9539 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.4694, allocations: 104.7 kB / 0.954 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.4694, allocations: 27.08 kB / 0.954 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.4694, allocations: 85.52 kB / 0.9541 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.4694, allocations: 0 / 0.9541 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.4695, allocations: 21.83 kB / 0.9541 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.069e-05/0.4695, allocations: 312.2 kB / 0.9544 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.4695, allocations: 2.75 kB / 0.9544 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.4695, allocations: 10.86 kB / 0.9544 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.4696, allocations: 19.67 kB / 0.9544 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4696, allocations: 1.375 kB / 0.9544 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.024e-05/0.4697, allocations: 43.41 kB / 0.9545 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.4697, allocations: 11.31 kB / 0.9545 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4697, allocations: 0 / 0.9545 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.4697, allocations: 1.375 kB / 0.9545 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.4697, allocations: 3.938 kB / 0.9545 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.4697, allocations: 0 / 0.9545 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.4698, allocations: 1.375 kB / 0.9545 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.4698, allocations: 9.297 kB / 0.9545 GB, free: 3.871 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.465e-05/0.4699, allocations: 187.9 kB / 0.9547 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.4699, allocations: 118.1 kB / 0.9548 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.4699, allocations: 109.7 kB / 0.9549 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.4699, allocations: 177.6 kB / 0.9551 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/0.47, allocations: 185.6 kB / 0.9553 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.47, allocations: 176.3 kB / 0.9554 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.4701, allocations: 413.3 kB / 0.9558 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.4701, allocations: 105 kB / 0.9559 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.034e-05/0.4701, allocations: 102.4 kB / 0.956 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/0.4702, allocations: 185.5 kB / 0.9562 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.4702, allocations: 180.5 kB / 0.9564 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/0.4702, allocations: 189.8 kB / 0.9565 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.717e-05/0.4702, allocations: 185.6 kB / 0.9567 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.743e-05/0.4703, allocations: 303.9 kB / 0.957 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.4703, allocations: 179.5 kB / 0.9572 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.4703, allocations: 189.5 kB / 0.9574 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.4704, allocations: 105 kB / 0.9575 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.4704, allocations: 181.6 kB / 0.9576 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.4704, allocations: 102.4 kB / 0.9577 GB, free: 376 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.531e-05/0.4705, allocations: 88.77 kB / 0.9578 GB, free: 292 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4705, allocations: 0 / 0.9578 GB, free: 292 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002058/0.4707, allocations: 4.125 kB / 0.9578 GB, free: 292 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.0003927/0.4711, allocations: 0.8244 MB / 0.9586 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.964e-05/0.4711, allocations: 4.062 kB / 0.9586 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.4711, allocations: 0 / 0.9586 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.4711, allocations: 1.5 kB / 0.9586 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.4715, allocations: 0.5291 MB / 0.9591 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008192/0.4723, allocations: 1.295 MB / 0.9604 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.4725, allocations: 0.6724 MB / 0.9611 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.571e-05/0.4725, allocations: 5.266 kB / 0.9611 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.4726, allocations: 20.5 kB / 0.9611 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.4726, allocations: 0 / 0.9611 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.4841, allocations: 1.15 MB / 0.9622 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.4843, allocations: 233.3 kB / 0.9624 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.016, allocations: 3.094 kB / 0.9624 GB, free: 12.07 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