Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_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.001422/0.001422, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.459/2.459, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 64.83 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.231, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002029/0.233, allocations: 1.234 MB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2343, allocations: 1.006 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.2343, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.2343, allocations: 3.938 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.2347, allocations: 111.5 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.766e-06/0.2347, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 2.787e-05/0.2347, allocations: 4 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.2348, allocations: 11.98 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.223e-05/0.2348, allocations: 3.938 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.2349, allocations: 5.719 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-06/0.2349, allocations: 4 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.2351, allocations: 111.8 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.619e-06/0.2351, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.339e-05/0.2351, allocations: 3.938 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.2353, allocations: 99.89 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2353, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2353, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.2353, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8262 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.000309/0.2356, allocations: 353.7 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.2357, allocations: 8.031 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.55e-05/0.2357, allocations: 110 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.2358, allocations: 76.22 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.2359, allocations: 247.9 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.236, allocations: 154.9 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.2361, allocations: 150.9 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.955e-05/0.2361, allocations: 108.9 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.2362, allocations: 79.27 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/0.2362, allocations: 150.6 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/0.2363, allocations: 150.6 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.693e-05/0.2363, allocations: 158.5 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.2366, allocations: 446 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.889e-05/0.2367, allocations: 165.1 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.2367, allocations: 80.19 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.2368, allocations: 87.2 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.2368, allocations: 113.8 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.2368, allocations: 4 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 5.915e-05/0.2369, allocations: 33.64 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.237, allocations: 126.7 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.237, allocations: 93.86 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2371, allocations: 25.7 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.2371, allocations: 84.08 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.81e-07/0.2371, allocations: 0 / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.2371, allocations: 9.844 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2373, allocations: 326.8 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-06/0.2373, allocations: 0 / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-06/0.2373, allocations: 3.938 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.2373, allocations: 75.28 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.851e-05/0.2373, allocations: 75.28 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.305e-05/0.2374, allocations: 37.58 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.2374, allocations: 79.28 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/0.2375, allocations: 79.28 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.029e-05/0.2375, allocations: 150.6 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.071e-05/0.2376, allocations: 83.22 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.497e-05/0.2376, allocations: 154.7 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.2377, allocations: 87.23 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.2377, allocations: 75.28 kB / 1.071 GB, free: 7.215 MB / 0.8262 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.0001167/0.2378, allocations: 268.3 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.2379, allocations: 112.8 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.238, allocations: 104.1 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.939e-05/0.238, allocations: 184.2 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.757e-05/0.2381, allocations: 184.2 kB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.527e-05/0.2382, allocations: 180.3 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.2384, allocations: 401.2 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.229e-05/0.2385, allocations: 112.9 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.2385, allocations: 101 kB / 1.072 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-05/0.2386, allocations: 184.2 kB / 1.072 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.65e-05/0.2386, allocations: 176.3 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.249e-05/0.2387, allocations: 192.2 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.323e-05/0.2388, allocations: 176.3 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.2389, allocations: 303.8 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.239, allocations: 182 kB / 1.073 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.558e-05/0.2391, allocations: 188.2 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.2392, allocations: 105 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.2392, allocations: 176.3 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.2393, allocations: 108.9 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.2393, allocations: 79.28 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2393, allocations: 3.938 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002683/0.2396, allocations: 35.98 kB / 1.074 GB, free: 3.512 MB / 0.8262 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.0007386/0.2404, allocations: 0.9518 MB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 2.819e-05/0.2404, allocations: 3.938 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.2404, allocations: 4 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.876e-06/0.2404, allocations: 8 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.2407, allocations: 455.7 kB / 1.075 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.2418, allocations: 1.556 MB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.242, allocations: 0.669 MB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.462e-06/0.2421, allocations: 4.125 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.2421, allocations: 11.44 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of SimCode: time 1.9e-07/0.2421, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.288/1.53, allocations: 1.855 MB / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/10.05, allocations: 7 kB / 1.079 GB, free: 14.04 MB / 0.8419 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches