Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.001226/0.001226, 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.001169/0.001169, allocations: 191.8 kB / 16.13 MB, free: 6.699 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.8 MB, free: 4.641 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.242/2.242, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.91 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4725, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002131/0.4747, allocations: 1.299 MB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.4756, allocations: 0.6956 MB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.4756, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.4757, allocations: 3.938 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.4758, allocations: 19.97 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.629e-05/0.4759, allocations: 7.938 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.655e-05/0.476, allocations: 15.98 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.476, allocations: 4 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.476, allocations: 7.922 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.4761, allocations: 4 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.4762, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/0.4762, allocations: 15.97 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.4763, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.4763, allocations: 7.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.528e-05/0.4764, allocations: 11.98 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4764, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.61e-07/0.4764, allocations: 8 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.4764, allocations: 0 / 1.019 GB, free: 0.6875 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.000288/0.4767, allocations: 321.8 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.4767, allocations: 12.03 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.4768, allocations: 106 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.4768, allocations: 76.22 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.477, allocations: 247.6 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.477, allocations: 162.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.4771, allocations: 150.9 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.422e-05/0.4771, allocations: 101.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.4771, allocations: 79.22 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.4772, allocations: 154.6 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.283e-05/0.4773, allocations: 150.6 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.4773, allocations: 158.5 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.4776, allocations: 453.9 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.035e-05/0.4777, allocations: 165.1 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.4777, allocations: 80.14 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.4777, allocations: 83.28 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.4778, allocations: 105.8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.4778, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.344e-05/0.4778, allocations: 33.58 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.4779, allocations: 126.7 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.478, allocations: 109.8 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.478, allocations: 25.7 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.4781, allocations: 84.14 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.4781, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.4781, allocations: 13.72 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.4782, allocations: 314.8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-06/0.4782, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.4782, allocations: 3.984 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.061e-05/0.4782, allocations: 75.28 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.4783, allocations: 79.22 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.419e-05/0.4783, allocations: 41.58 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.4784, allocations: 83.22 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.4784, allocations: 79.28 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.851e-05/0.4784, allocations: 154.5 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.835e-05/0.4785, allocations: 75.28 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.336e-05/0.4785, allocations: 158.5 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.4786, allocations: 87.22 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.4787, allocations: 75.28 kB / 1.023 GB, free: 12.3 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 (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 prepare postOptimizeDAE: time 9.092e-05/0.4787, allocations: 260.9 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.4788, allocations: 108.9 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.4789, allocations: 112.1 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.896e-05/0.4789, allocations: 188.3 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.157e-05/0.479, allocations: 180.4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.821e-05/0.479, allocations: 176.3 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.4792, allocations: 409.2 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/0.4792, allocations: 105 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.4793, allocations: 101 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.747e-05/0.4793, allocations: 188.1 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.4794, allocations: 184.2 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.823e-05/0.4795, allocations: 184.2 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.584e-05/0.4795, allocations: 176.3 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.4796, allocations: 307.8 kB / 1.025 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.4797, allocations: 182.1 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.4797, allocations: 188.1 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.4798, allocations: 105 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.4799, allocations: 180.3 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.4799, allocations: 108.9 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.654e-05/0.48, allocations: 83.28 kB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.48, allocations: 0 / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000238/0.4802, allocations: 4 kB / 1.026 GB, free: 8.617 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.0004216/0.4806, allocations: 0.828 MB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.091e-05/0.4807, allocations: 7.938 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.4807, allocations: 0 / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.4807, allocations: 0 / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.481, allocations: 0.5259 MB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.482, allocations: 1.575 MB / 1.029 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.4823, allocations: 0.6692 MB / 1.03 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.357e-05/0.4823, allocations: 7.938 kB / 1.03 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.4823, allocations: 11.42 kB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.4823, allocations: 0 / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.4928, allocations: 1.065 MB / 1.031 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.493, allocations: 246.2 kB / 1.031 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/1.993, allocations: 5.047 kB / 1.031 GB, free: 3.73 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches