Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_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.001186/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001206/0.001206, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.263/2.263, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 68.02 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.457, allocations: 151.6 MB / 1.017 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001958/0.459, allocations: 1.342 MB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008179/0.4599, allocations: 0.7189 MB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.339e-05/0.4599, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.4599, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.4601, allocations: 3.984 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.4602, allocations: 55.38 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.574e-05/0.4603, allocations: 35.95 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.134e-05/0.4603, allocations: 4 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.4604, allocations: 7.938 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.4605, allocations: 11.94 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.4605, allocations: 3.984 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.4606, allocations: 11.98 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.4606, allocations: 4 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.4606, allocations: 11.92 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.705e-05/0.4607, allocations: 19.97 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4607, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.61e-07/0.4607, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.4607, allocations: 4 kB / 1.019 GB, free: 0.6328 MB / 0.7637 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.0002664/0.461, allocations: 329.8 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.461, allocations: 8.031 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.4611, allocations: 114 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.4611, allocations: 84.06 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.4613, allocations: 243.6 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/0.4613, allocations: 154.9 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.4614, allocations: 158.9 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.735e-05/0.4614, allocations: 101.5 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.4614, allocations: 79.22 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.4615, allocations: 150.6 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.4615, allocations: 150.6 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.4616, allocations: 158.5 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.4618, allocations: 453.9 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.007e-05/0.4619, allocations: 169.1 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.4619, allocations: 84.08 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.4619, allocations: 79.28 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.462, allocations: 109.8 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.953e-06/0.462, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.99e-05/0.462, allocations: 37.58 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4621, allocations: 126.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.4622, allocations: 109.8 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.4622, allocations: 25.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.4622, allocations: 88.12 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.4622, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.4623, allocations: 17.72 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.4624, allocations: 314.8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.4624, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.4624, allocations: 11.98 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.4624, allocations: 20.8 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4624, allocations: 96 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.696e-05/0.4625, allocations: 49.59 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.4626, allocations: 7.938 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4626, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.4626, allocations: 3.984 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.4626, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.4626, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.759e-05/0.4627, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.4627, allocations: 3.984 kB / 1.022 GB, free: 13.01 MB / 0.7794 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 7.781e-05/0.4628, allocations: 189.2 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.4628, allocations: 112.8 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.4629, allocations: 108.5 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/0.4629, allocations: 184.2 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-05/0.463, allocations: 180.2 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-05/0.463, allocations: 176.3 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.4632, allocations: 417.2 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/0.4632, allocations: 101 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.4633, allocations: 101 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.785e-05/0.4633, allocations: 188.1 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.4634, allocations: 176.3 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.781e-05/0.4634, allocations: 192.4 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-05/0.4635, allocations: 176.3 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.553e-05/0.4636, allocations: 303.8 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.4636, allocations: 190.1 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.4637, allocations: 184.1 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.4638, allocations: 105 kB / 1.025 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.4638, allocations: 184.2 kB / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.4638, allocations: 104.9 kB / 1.025 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.631e-05/0.4639, allocations: 91.52 kB / 1.025 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4639, allocations: 0 / 1.025 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002082/0.4641, allocations: 4 kB / 1.026 GB, free: 9.395 MB / 0.7794 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.0004098/0.4645, allocations: 0.832 MB / 1.026 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.936e-05/0.4646, allocations: 4 kB / 1.026 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4646, allocations: 0 / 1.026 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.4646, allocations: 8.062 kB / 1.026 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.4649, allocations: 0.5185 MB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007753/0.4657, allocations: 1.296 MB / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.4659, allocations: 0.677 MB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.495e-05/0.4659, allocations: 4.094 kB / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.4659, allocations: 7.438 kB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4659, allocations: 0 / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.4878, allocations: 1.153 MB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.488, allocations: 238.9 kB / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.45/1.938, allocations: 4 kB / 1.03 GB, free: 4.652 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches