Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002578/0.002578, allocations: 216.2 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.243/3.243, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 74.05 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3798, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002972/0.3827, allocations: 1.273 MB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.3851, allocations: 1.099 MB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.3851, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.3851, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005706/0.3857, allocations: 111.5 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.849e-06/0.3857, allocations: 0 / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 4.697e-05/0.3858, allocations: 0 / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.3858, allocations: 4 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.3858, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3859, allocations: 8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.3859, allocations: 7.938 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.3862, allocations: 123.8 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.3862, allocations: 11.88 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.611e-05/0.3862, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.3865, allocations: 100 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3865, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3865, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.3866, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 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.0003947/0.387, allocations: 274 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.387, allocations: 16.03 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.787e-05/0.3871, allocations: 106 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.3872, allocations: 80.22 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3873, allocations: 181.8 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/0.3874, allocations: 154.9 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/0.3875, allocations: 158.9 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.36e-05/0.3876, allocations: 108.9 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/0.3876, allocations: 79.27 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.3877, allocations: 150.6 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.128e-05/0.3878, allocations: 150.6 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.3878, allocations: 150.6 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.3882, allocations: 421 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3883, allocations: 169.1 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.3884, allocations: 88.14 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.3884, allocations: 79.22 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/0.3885, allocations: 109.8 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3885, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.604e-05/0.3886, allocations: 33.62 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/0.3886, allocations: 126.7 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.3888, allocations: 93.86 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.3888, allocations: 29.64 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.3889, allocations: 84.14 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.3889, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.3889, allocations: 13.84 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.389, allocations: 314.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.3891, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.3891, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.756e-05/0.3891, allocations: 79.27 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.773e-05/0.3891, allocations: 75.28 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.372e-05/0.3892, allocations: 33.64 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.3893, allocations: 81.16 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-05/0.3893, allocations: 83.22 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-05/0.3894, allocations: 154.5 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.3894, allocations: 87.34 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.106e-05/0.3895, allocations: 150.6 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.3896, allocations: 83.28 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.3896, allocations: 79.22 kB / 1.332 GB, free: 10.87 MB / 1.029 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.0001509/0.3898, allocations: 264.4 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/0.3899, allocations: 104.9 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.999e-05/0.3899, allocations: 116.1 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.506e-05/0.39, allocations: 180.3 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/0.3901, allocations: 184.2 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/0.3902, allocations: 184.2 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.3905, allocations: 372.3 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.646e-05/0.3906, allocations: 112.8 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.3906, allocations: 101 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.592e-05/0.3907, allocations: 180.2 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.89e-05/0.3908, allocations: 180.3 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.27e-05/0.3909, allocations: 180.3 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.404e-05/0.391, allocations: 180.2 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.3912, allocations: 307.8 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.3912, allocations: 104.9 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3913, allocations: 188.3 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.3914, allocations: 108.9 kB / 1.335 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.3915, allocations: 180.3 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.3915, allocations: 104.9 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.3916, allocations: 83.22 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3916, allocations: 0 / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003586/0.392, allocations: 43.8 kB / 1.336 GB, free: 7.277 MB / 1.029 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.001014/0.393, allocations: 0.9519 MB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.579e-05/0.393, allocations: 3.938 kB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.393, allocations: 0 / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.393, allocations: 8 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.3934, allocations: 453.4 kB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.395, allocations: 1.562 MB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3953, allocations: 0.669 MB / 1.339 GB, free: 3.543 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.098e-05/0.3954, allocations: 128 / 1.339 GB, free: 3.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.3954, allocations: 11.44 kB / 1.339 GB, free: 3.531 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3954, allocations: 0 / 1.339 GB, free: 3.531 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.4287, allocations: 1.98 MB / 1.341 GB, free: 1.695 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.02, allocations: 7.688 kB / 1.341 GB, free: 1.695 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.943072428926826]