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.001247/0.001247, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001426/0.001426, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.205/3.205, allocations: 0.49 GB / 0.7959 GB, free: 33.34 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="cs",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.001984/0.001984, allocations: 68.11 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3423, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002208/0.3445, allocations: 1.261 MB / 1.328 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3462, allocations: 1.099 MB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.3462, allocations: 3.938 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.3462, allocations: 0 / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.3466, allocations: 111.6 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.256e-06/0.3466, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 3.336e-05/0.3466, allocations: 3.938 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.3467, allocations: 7.984 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.312e-05/0.3467, allocations: 3.938 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3468, allocations: 7.984 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.3468, allocations: 0 / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.347, allocations: 123.8 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.348e-06/0.347, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.313e-05/0.347, allocations: 7.984 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.3472, allocations: 96.05 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3472, allocations: 4 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.51e-07/0.3472, allocations: 3.938 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.3472, allocations: 4 kB / 1.329 GB, free: 15.23 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.000299/0.3475, allocations: 274 kB / 1.33 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3476, allocations: 12.03 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.751e-05/0.3476, allocations: 75.47 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.055e-05/0.3477, allocations: 114 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.3477, allocations: 80.22 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3479, allocations: 189.8 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.3479, allocations: 154.9 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.348, allocations: 158.7 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.222e-05/0.3481, allocations: 101 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.3481, allocations: 79.28 kB / 1.331 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.3482, allocations: 154.6 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.774e-05/0.3482, allocations: 150.6 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.884e-05/0.3483, allocations: 158.5 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.3486, allocations: 413 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.098e-05/0.3487, allocations: 169.1 kB / 1.332 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.3487, allocations: 84.08 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.3487, allocations: 75.28 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/0.3488, allocations: 117.8 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3488, allocations: 3.938 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 6.818e-05/0.3489, allocations: 29.64 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.3489, allocations: 130.7 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.71e-05/0.349, allocations: 93.86 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.349, allocations: 25.7 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.3491, allocations: 80.14 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.3491, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.3491, allocations: 17.72 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3492, allocations: 314.8 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-06/0.3492, allocations: 4.125 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-06/0.3492, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.053e-05/0.3493, allocations: 75.28 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.823e-05/0.3493, allocations: 79.22 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.275e-05/0.3494, allocations: 37.58 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.3494, allocations: 79.28 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.3494, allocations: 75.28 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-05/0.3495, allocations: 162.5 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.836e-05/0.3495, allocations: 75.41 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.947e-05/0.3496, allocations: 158.6 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.3497, allocations: 83.2 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.3497, allocations: 79.28 kB / 1.333 GB, free: 10.95 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.0001257/0.3498, allocations: 257.1 kB / 1.334 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.3499, allocations: 112.9 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/0.35, allocations: 108.2 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.381e-05/0.35, allocations: 188.2 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.57e-05/0.3501, allocations: 180.2 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.449e-05/0.3502, allocations: 176.3 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.3504, allocations: 380.2 kB / 1.335 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.501e-05/0.3505, allocations: 109 kB / 1.335 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.3505, allocations: 101 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.296e-05/0.3506, allocations: 180.2 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/0.3507, allocations: 180.3 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-05/0.3507, allocations: 180.2 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-05/0.3508, allocations: 184.2 kB / 1.336 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.351, allocations: 307.7 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.351, allocations: 101 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.3511, allocations: 188.2 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/0.3512, allocations: 116.9 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.3513, allocations: 184.2 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.3513, allocations: 105 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.3513, allocations: 75.28 kB / 1.337 GB, free: 7.402 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3513, allocations: 0 / 1.337 GB, free: 7.402 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003219/0.3517, allocations: 43.8 kB / 1.337 GB, free: 7.359 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.000863/0.3525, allocations: 0.9568 MB / 1.338 GB, free: 6.414 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 3.6e-05/0.3526, allocations: 4 kB / 1.338 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3526, allocations: 0 / 1.338 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3526, allocations: 0 / 1.338 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3529, allocations: 455.7 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.3541, allocations: 1.556 MB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.3544, allocations: 0.6728 MB / 1.34 GB, free: 3.629 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.915e-06/0.3544, allocations: 4 kB / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.3545, allocations: 7.438 kB / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3545, allocations: 0 / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.3881, allocations: 2.013 MB / 1.342 GB, free: 1.766 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.34, allocations: 9.328 kB / 1.342 GB, free: 1.762 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.33154319296591]