Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.0008431/0.0008432, allocations: 89.97 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.005031/0.005031, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.168/1.168, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.244/2.244, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002853, allocations: 8 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.4788, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001062/0.4799, allocations: 0.9684 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.4811, allocations: 0.9803 MB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.018e-05/0.4812, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.047e-05/0.4812, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.4815, allocations: 91.72 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.184e-06/0.4815, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 2.647e-05/0.4815, allocations: 4 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.134e-05/0.4816, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.104e-05/0.4816, allocations: 4 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.791e-05/0.4817, allocations: 7.938 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.969e-06/0.4817, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.4819, allocations: 115.8 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-06/0.4819, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.4819, allocations: 33.62 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.4821, allocations: 103.8 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.4821, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4821, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.4821, allocations: 0 / 1.025 GB, free: 13.54 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.0002611/0.4824, allocations: 347.5 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.4824, allocations: 12.03 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.4825, allocations: 106 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.4825, allocations: 76.22 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.4826, allocations: 241.9 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.4827, allocations: 150.9 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.4827, allocations: 162.6 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.453e-05/0.4828, allocations: 109 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.4828, allocations: 79.27 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.4829, allocations: 150.6 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/0.4829, allocations: 154.6 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.477e-05/0.483, allocations: 150.6 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.4832, allocations: 449.9 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.965e-05/0.4833, allocations: 177.1 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.4833, allocations: 84.08 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.4833, allocations: 75.28 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4834, allocations: 109.9 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.4834, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.552e-05/0.4834, allocations: 33.7 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.4835, allocations: 130.6 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.4836, allocations: 97.84 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.4836, allocations: 29.7 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.4836, allocations: 80.14 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-06/0.4836, allocations: 128 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.4836, allocations: 13.72 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.4837, allocations: 310.8 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-06/0.4837, allocations: 0 / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-06/0.4838, allocations: 4.031 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.053e-05/0.4838, allocations: 75.28 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.4838, allocations: 75.28 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.785e-05/0.4838, allocations: 33.64 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.4839, allocations: 79.28 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.4839, allocations: 87.22 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.965e-05/0.484, allocations: 158.5 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.149e-05/0.484, allocations: 79.22 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.22e-05/0.484, allocations: 150.6 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.4841, allocations: 75.28 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.4841, allocations: 83.22 kB / 1.029 GB, free: 9.148 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 8.426e-05/0.4842, allocations: 260.4 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.4843, allocations: 104.9 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.4843, allocations: 120 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-05/0.4844, allocations: 176.3 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-05/0.4844, allocations: 176.3 kB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.906e-05/0.4845, allocations: 184.2 kB / 1.03 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.4847, allocations: 409.2 kB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.405e-05/0.4847, allocations: 104.9 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.4848, allocations: 105 kB / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.344e-05/0.4848, allocations: 184.2 kB / 1.031 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.4849, allocations: 196.1 kB / 1.031 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-05/0.4849, allocations: 176.3 kB / 1.032 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.507e-05/0.485, allocations: 180.2 kB / 1.032 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.4851, allocations: 307.7 kB / 1.032 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.4852, allocations: 186.1 kB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.4852, allocations: 184.3 kB / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.4853, allocations: 104.9 kB / 1.032 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.4854, allocations: 176.3 kB / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4854, allocations: 112.9 kB / 1.033 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.949e-05/0.4854, allocations: 75.28 kB / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4854, allocations: 0 / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002981/0.4857, allocations: 48.08 kB / 1.033 GB, free: 5.43 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.000611/0.4863, allocations: 0.9381 MB / 1.034 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.331e-05/0.4864, allocations: 4 kB / 1.034 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4864, allocations: 7.938 kB / 1.034 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.4864, allocations: 3.938 kB / 1.034 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.4867, allocations: 0.5152 MB / 1.034 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.4876, allocations: 1.566 MB / 1.036 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.4878, allocations: 0.6733 MB / 1.036 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.604e-06/0.4878, allocations: 0 / 1.036 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.4879, allocations: 11.44 kB / 1.036 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.4879, allocations: 0 / 1.036 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2833/0.7712, allocations: 1.664 MB / 1.038 GB, free: 140 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/0.7715, allocations: 284.2 kB / 1.038 GB, free: 15.75 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.282, allocations: 3.938 kB / 1.038 GB, free: 15.75 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches