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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005419/0.005419, allocations: 98.91 kB / 15.73 MB, free: 6.008 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.001332/0.001333, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.053/2.053, allocations: 390.3 MB / 0.6648 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.89 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6008/0.602, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00206/0.6041, allocations: 1.246 MB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.6054, allocations: 1.003 MB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.6054, allocations: 5.062 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.6054, allocations: 0 / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.6058, allocations: 110.4 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 2.866e-06/0.6058, allocations: 1.062 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.753e-05/0.6059, allocations: 5.703 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.6059, allocations: 1.703 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.177e-05/0.6059, allocations: 0.9375 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.844e-05/0.606, allocations: 11.77 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.011e-06/0.606, allocations: 0 / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.6062, allocations: 129.9 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.488e-06/0.6062, allocations: 0 / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.104e-05/0.6062, allocations: 1.188 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.6064, allocations: 104.2 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6064, allocations: 0 / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6064, allocations: 0 / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.6064, allocations: 0 / 1.09 GB, free: 3.547 MB / 0.8575 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.0002031/0.6066, allocations: 346.5 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.6067, allocations: 9.812 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.102e-05/0.6067, allocations: 110.8 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.6067, allocations: 81.31 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.159e-05/0.6068, allocations: 246.1 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.6068, allocations: 151.5 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.6069, allocations: 152.1 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.408e-05/0.6069, allocations: 106.5 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6069, allocations: 79.28 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.6069, allocations: 150.6 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.607, allocations: 156.2 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.607, allocations: 158.5 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.6071, allocations: 442 kB / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.925e-05/0.6072, allocations: 170.3 kB / 1.092 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.6072, allocations: 84.89 kB / 1.092 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.6072, allocations: 79.22 kB / 1.092 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.6073, allocations: 111.4 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6073, allocations: 1.062 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 6.139e-05/0.6074, allocations: 36.3 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.6074, allocations: 126.7 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.6075, allocations: 93.27 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.6075, allocations: 27.42 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.6075, allocations: 84.14 kB / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/0.6075, allocations: 0 / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.6076, allocations: 11.62 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6077, allocations: 316.8 kB / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-06/0.6077, allocations: 0 / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-06/0.6077, allocations: 0.6562 kB / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.343e-05/0.6077, allocations: 76.19 kB / 1.093 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-05/0.6077, allocations: 76.03 kB / 1.093 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.873e-05/0.6078, allocations: 36.42 kB / 1.093 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.6078, allocations: 80.91 kB / 1.093 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/0.6079, allocations: 76.55 kB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.036e-05/0.6079, allocations: 164 kB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.274e-05/0.608, allocations: 80.75 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.857e-05/0.608, allocations: 152.1 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.6081, allocations: 80.75 kB / 1.094 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.6081, allocations: 77.02 kB / 1.094 GB, free: 15.23 MB / 0.8731 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 0.0001076/0.6083, allocations: 261.7 kB / 1.094 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.6083, allocations: 111.9 kB / 1.094 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.6084, allocations: 113.5 kB / 1.095 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.905e-05/0.6084, allocations: 178.5 kB / 1.095 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.276e-05/0.6085, allocations: 181.5 kB / 1.095 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.976e-05/0.6086, allocations: 178.1 kB / 1.095 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.6088, allocations: 410 kB / 1.095 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/0.6088, allocations: 110.5 kB / 1.096 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.6088, allocations: 110.6 kB / 1.096 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.091e-05/0.6089, allocations: 181.5 kB / 1.096 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.609, allocations: 177.9 kB / 1.096 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-05/0.609, allocations: 186.7 kB / 1.096 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.957e-05/0.6091, allocations: 181.4 kB / 1.096 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.6092, allocations: 309.2 kB / 1.097 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.6093, allocations: 184.2 kB / 1.097 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/0.6093, allocations: 182.3 kB / 1.097 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.6094, allocations: 111.3 kB / 1.097 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.6095, allocations: 180.8 kB / 1.097 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.6095, allocations: 102.4 kB / 1.097 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.6095, allocations: 78.62 kB / 1.097 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6096, allocations: 0 / 1.097 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002955/0.6099, allocations: 43.89 kB / 1.097 GB, free: 11.58 MB / 0.8731 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.0006379/0.6105, allocations: 0.9503 MB / 1.098 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 3.054e-05/0.6105, allocations: 0.9688 kB / 1.098 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6105, allocations: 0 / 1.098 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.6105, allocations: 1.031 kB / 1.098 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.6109, allocations: 458.6 kB / 1.099 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008837/0.6117, allocations: 1.556 MB / 1.1 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.6119, allocations: 0.6713 MB / 1.101 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.725e-06/0.6119, allocations: 1.641 kB / 1.101 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.612, allocations: 13.05 kB / 1.101 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.612, allocations: 4.031 kB / 1.101 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5463/1.158, allocations: 1.881 MB / 1.103 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.25, allocations: 9.469 kB / 1.103 GB, free: 7.531 MB / 0.8731 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