Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_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.0008394/0.0008394, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004976/0.004977, allocations: 172.8 kB / 16.27 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.165/1.165, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.025/2.025, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5036, allocations: 142.4 MB / 0.9552 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.0008522/0.5045, allocations: 0.9676 MB / 0.9561 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.5055, allocations: 0.9787 MB / 0.9571 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-06/0.5055, allocations: 0 / 0.9571 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.728e-06/0.5055, allocations: 0 / 0.9571 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.5058, allocations: 93.11 kB / 0.9572 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.144e-06/0.5058, allocations: 0 / 0.9572 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.48e-05/0.5059, allocations: 4.969 kB / 0.9572 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.153e-05/0.5059, allocations: 1.094 kB / 0.9572 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.142e-05/0.5059, allocations: 5.688 kB / 0.9572 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.579e-05/0.506, allocations: 4.594 kB / 0.9572 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.989e-06/0.506, allocations: 0 / 0.9572 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.5062, allocations: 113.7 kB / 0.9573 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.777e-06/0.5062, allocations: 0 / 0.9573 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.492e-05/0.5062, allocations: 35.25 kB / 0.9573 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.5063, allocations: 101.5 kB / 0.9574 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5064, allocations: 1.438 kB / 0.9574 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5064, allocations: 0 / 0.9574 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.495e-06/0.5064, allocations: 0 / 0.9574 GB, free: 6.012 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.0001833/0.5066, allocations: 350 kB / 0.9578 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.5066, allocations: 9.125 kB / 0.9578 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.886e-05/0.5066, allocations: 106 kB / 0.9579 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.5067, allocations: 80.12 kB / 0.9579 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.228e-05/0.5067, allocations: 247.6 kB / 0.9582 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.5067, allocations: 150.9 kB / 0.9583 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.5068, allocations: 156.8 kB / 0.9585 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.894e-05/0.5068, allocations: 108.9 kB / 0.9586 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5068, allocations: 75.28 kB / 0.9586 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.5068, allocations: 150.6 kB / 0.9588 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.5069, allocations: 156.5 kB / 0.9589 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.525e-05/0.5069, allocations: 150.6 kB / 0.9591 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.507, allocations: 447.7 kB / 0.9595 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.146e-05/0.507, allocations: 173.1 kB / 0.9597 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.5071, allocations: 85.91 kB / 0.9598 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.5071, allocations: 79.22 kB / 0.9598 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.5071, allocations: 109.9 kB / 0.9599 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.5071, allocations: 1.812 kB / 0.9599 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 4.664e-05/0.5072, allocations: 29.7 kB / 0.96 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.5072, allocations: 130.6 kB / 0.9601 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.164e-05/0.5072, allocations: 101.4 kB / 0.9602 GB, free: 3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-06/0.5072, allocations: 25.7 kB / 0.9602 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.037e-05/0.5073, allocations: 81.89 kB / 0.9603 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-06/0.5073, allocations: 4.125 kB / 0.9603 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.5073, allocations: 9.719 kB / 0.9603 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.024e-05/0.5073, allocations: 310.8 kB / 0.9606 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-06/0.5073, allocations: 1.781 kB / 0.9606 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-06/0.5073, allocations: 0 / 0.9606 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.927e-06/0.5073, allocations: 75.28 kB / 0.9607 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5074, allocations: 75.28 kB / 0.9607 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.054e-05/0.5074, allocations: 37.34 kB / 0.9608 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5074, allocations: 84.62 kB / 0.9609 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5074, allocations: 79.22 kB / 0.9609 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.5075, allocations: 160.3 kB / 0.9611 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-06/0.5075, allocations: 79.22 kB / 0.9612 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.5075, allocations: 152.4 kB / 0.9613 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.5075, allocations: 79.22 kB / 0.9614 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.5075, allocations: 85 kB / 0.9615 GB, free: 1.668 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 (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 3.774e-05/0.5076, allocations: 256.4 kB / 0.9617 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.5076, allocations: 106.7 kB / 0.9618 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.5076, allocations: 121.6 kB / 0.9619 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.5077, allocations: 176.3 kB / 0.9621 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.5077, allocations: 182.1 kB / 0.9623 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.5077, allocations: 180.2 kB / 0.9624 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.482e-05/0.5078, allocations: 403.1 kB / 0.9628 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.5078, allocations: 115 kB / 0.9629 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.5079, allocations: 108.9 kB / 0.963 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.73e-05/0.5079, allocations: 178.5 kB / 0.9632 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.508, allocations: 188.2 kB / 0.9634 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.551e-05/0.508, allocations: 178.3 kB / 0.9636 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.305e-05/0.5081, allocations: 180.2 kB / 0.9637 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.5082, allocations: 302.7 kB / 0.964 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.5082, allocations: 191.4 kB / 0.9642 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.5083, allocations: 181.6 kB / 0.9644 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.5084, allocations: 106.3 kB / 0.9645 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.5084, allocations: 177.6 kB / 0.9646 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.5084, allocations: 108.9 kB / 0.9648 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.642e-05/0.5085, allocations: 77.84 kB / 0.9648 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5085, allocations: 4.094 kB / 0.9648 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002704/0.5088, allocations: 40.98 kB / 0.9649 GB, free: 14 MB / 0.7325 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.0005806/0.5093, allocations: 0.9437 MB / 0.9658 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 2.323e-05/0.5094, allocations: 0 / 0.9658 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5094, allocations: 4 kB / 0.9658 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.5094, allocations: 5.312 kB / 0.9658 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.5097, allocations: 0.5159 MB / 0.9663 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/0.5106, allocations: 1.57 MB / 0.9678 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.5108, allocations: 0.675 MB / 0.9685 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.833e-06/0.5108, allocations: 0 / 0.9685 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.5108, allocations: 12.75 kB / 0.9685 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.5108, allocations: 0 / 0.9685 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.452/1.963, allocations: 1.654 MB / 0.9701 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/1.963, allocations: 281 kB / 0.9704 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/3.441, allocations: 0 / 0.9704 GB, free: 9.125 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches