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.0008511/0.0008511, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004656/0.004656, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.164/1.164, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.23/2.23, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 12 kB / 0.873 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4804, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001094/0.4815, allocations: 0.9878 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008983/0.4825, allocations: 0.7229 MB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.348e-05/0.4825, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.4825, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.4827, allocations: 15.92 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.4828, allocations: 49 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.4829, allocations: 31.91 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.176e-05/0.4829, allocations: 4 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.344e-05/0.483, allocations: 8 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.4831, allocations: 15.91 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.4831, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.477e-05/0.4832, allocations: 19.92 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.4832, allocations: 3.984 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.4833, allocations: 33.64 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.29e-05/0.4834, allocations: 27.97 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4834, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4834, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.806e-06/0.4834, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 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.0002495/0.4836, allocations: 321.8 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.4837, allocations: 12.03 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.4837, allocations: 106 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.4838, allocations: 76.22 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.4839, allocations: 251.5 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/0.484, allocations: 162.9 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.484, allocations: 158.9 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.818e-05/0.4841, allocations: 101.5 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.4841, allocations: 79.22 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.4841, allocations: 150.6 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.4842, allocations: 158.6 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.4842, allocations: 150.6 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.4845, allocations: 449.9 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.26e-05/0.4845, allocations: 173.1 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.4846, allocations: 84.14 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.4846, allocations: 75.28 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.4846, allocations: 105.8 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.4846, allocations: 0 / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.19e-05/0.4847, allocations: 33.64 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4847, allocations: 130.6 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.4848, allocations: 109.8 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.4849, allocations: 25.7 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.4849, allocations: 80.14 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-06/0.4849, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.4849, allocations: 21.7 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.485, allocations: 310.8 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.485, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.4851, allocations: 7.984 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.4851, allocations: 20.95 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4851, allocations: 3.938 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.992e-05/0.4852, allocations: 41.64 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4852, allocations: 13.95 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4852, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.4852, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-06/0.4853, allocations: 4 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.4853, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.611e-05/0.4853, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.4854, allocations: 0 / 1.028 GB, free: 10.29 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 8.551e-05/0.4854, allocations: 189.2 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.4855, allocations: 112.8 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.4855, allocations: 116.7 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.642e-05/0.4856, allocations: 180.2 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-05/0.4857, allocations: 180.3 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.862e-05/0.4857, allocations: 184.2 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.4859, allocations: 405.2 kB / 1.03 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-05/0.4859, allocations: 105 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.486, allocations: 113 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.821e-05/0.486, allocations: 180.2 kB / 1.03 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.4861, allocations: 180.2 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.661e-05/0.4861, allocations: 184.5 kB / 1.03 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-05/0.4862, allocations: 188.2 kB / 1.03 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.4863, allocations: 303.8 kB / 1.031 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.4864, allocations: 182.1 kB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.4864, allocations: 184.2 kB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.4865, allocations: 112.9 kB / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.4866, allocations: 176.3 kB / 1.031 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.4866, allocations: 104.9 kB / 1.032 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.4866, allocations: 83.28 kB / 1.032 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4866, allocations: 4 kB / 1.032 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000202/0.4868, allocations: 3.984 kB / 1.032 GB, free: 6.664 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.0004234/0.4873, allocations: 0.8239 MB / 1.032 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.206e-05/0.4873, allocations: 8 kB / 1.032 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4873, allocations: 4.062 kB / 1.032 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.4873, allocations: 3.938 kB / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.4877, allocations: 0.5192 MB / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/0.4885, allocations: 1.305 MB / 1.034 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.4887, allocations: 0.681 MB / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.328e-05/0.4887, allocations: 0 / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.4887, allocations: 11.44 kB / 1.035 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.4887, allocations: 4 kB / 1.035 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.5128, allocations: 1.085 MB / 1.036 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.513, allocations: 232.1 kB / 1.036 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.357, allocations: 0 / 1.036 GB, free: 2.016 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