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.009929/0.009929, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.001917/0.001917, allocations: 196.1 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.207/2.207, allocations: 222.9 MB / 240.4 MB, free: 15.14 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 3.396/3.396, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 63.84 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307/1.31, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.0027/1.312, allocations: 1.242 MB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001498/1.314, allocations: 1.012 MB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/1.314, allocations: 1.344 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/1.314, allocations: 0 / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000439/1.314, allocations: 111.5 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/1.314, allocations: 0 / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.402e-05/1.314, allocations: 1.281 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/1.314, allocations: 6 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/1.314, allocations: 1.203 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.922e-05/1.315, allocations: 11.2 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.173e-06/1.315, allocations: 0 / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/1.315, allocations: 125.3 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-06/1.315, allocations: 1.031 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/1.315, allocations: 0 / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/1.315, allocations: 111.5 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.315, allocations: 0.75 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.905e-06/1.315, allocations: 0.6562 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.065e-05/1.315, allocations: 0.7188 kB / 1.09 GB, free: 3.539 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.0002934/1.315, allocations: 350.2 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.316, allocations: 9.438 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/1.316, allocations: 106.6 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/1.316, allocations: 77.34 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/1.316, allocations: 238.6 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/1.316, allocations: 150.9 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/1.316, allocations: 156.6 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.828e-05/1.316, allocations: 113.9 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/1.316, allocations: 75.8 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/1.316, allocations: 150.6 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/1.316, allocations: 159.5 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/1.316, allocations: 155.1 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/1.316, allocations: 445.9 kB / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/1.316, allocations: 174.8 kB / 1.092 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/1.316, allocations: 80.14 kB / 1.092 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/1.316, allocations: 79.22 kB / 1.092 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.042e-05/1.316, allocations: 111.6 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/1.316, allocations: 0 / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.345e-05/1.316, allocations: 28.33 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/1.317, allocations: 127.2 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.94e-05/1.317, allocations: 98.59 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/1.317, allocations: 25.7 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/1.317, allocations: 85.61 kB / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/1.317, allocations: 3.938 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/1.317, allocations: 11.31 kB / 1.093 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.317, allocations: 312.2 kB / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-06/1.317, allocations: 0 / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-06/1.317, allocations: 0.8125 kB / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/1.317, allocations: 76.83 kB / 1.093 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/1.317, allocations: 75.28 kB / 1.093 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.615e-05/1.317, allocations: 36.59 kB / 1.093 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/1.317, allocations: 81.27 kB / 1.093 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/1.317, allocations: 80.64 kB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-05/1.317, allocations: 160.1 kB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.441e-05/1.317, allocations: 76.92 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-05/1.317, allocations: 156 kB / 1.094 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/1.317, allocations: 76.06 kB / 1.094 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/1.317, allocations: 84.61 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.0001115/1.317, allocations: 259 kB / 1.094 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/1.317, allocations: 111.1 kB / 1.094 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/1.318, allocations: 109.7 kB / 1.095 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-05/1.318, allocations: 182 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-05/1.318, allocations: 182 kB / 1.095 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.23e-05/1.318, allocations: 182.3 kB / 1.095 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/1.318, allocations: 405.5 kB / 1.095 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/1.318, allocations: 106.3 kB / 1.096 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/1.318, allocations: 110.8 kB / 1.096 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-05/1.318, allocations: 181.6 kB / 1.096 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/1.318, allocations: 182.2 kB / 1.096 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.827e-05/1.318, allocations: 181.7 kB / 1.096 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.684e-05/1.318, allocations: 189.8 kB / 1.096 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/1.318, allocations: 305.9 kB / 1.097 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/1.319, allocations: 188.2 kB / 1.097 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/1.319, allocations: 182.4 kB / 1.097 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/1.319, allocations: 106.3 kB / 1.097 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/1.319, allocations: 178.3 kB / 1.097 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/1.319, allocations: 106.3 kB / 1.097 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.006e-05/1.319, allocations: 82.33 kB / 1.097 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.319, allocations: 0 / 1.097 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003482/1.319, allocations: 44.25 kB / 1.097 GB, free: 11.57 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.0008447/1.32, allocations: 0.9427 MB / 1.098 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.47e-05/1.32, allocations: 4.609 kB / 1.098 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.32, allocations: 1.031 kB / 1.098 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/1.32, allocations: 0 / 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.0003914/1.321, allocations: 458 kB / 1.099 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.322, allocations: 1.561 MB / 1.1 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/1.322, allocations: 0.6715 MB / 1.101 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.12e-05/1.322, allocations: 1.094 kB / 1.101 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/1.322, allocations: 10.39 kB / 1.101 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.322, allocations: 0 / 1.101 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4814/1.803, allocations: 1.881 MB / 1.103 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.87, allocations: 5.969 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