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.001401/0.001401, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001542/0.001542, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.446/1.446, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.166/3.166, allocations: 0.49 GB / 0.7916 GB, free: 33.6 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.002043/0.002043, allocations: 75.58 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3338, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002495/0.3363, allocations: 1.25 MB / 1.322 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.3379, allocations: 1.02 MB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.338, allocations: 0 / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.338, allocations: 0 / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.3384, allocations: 115.5 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.3384, allocations: 0 / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.061e-05/0.3385, allocations: 0 / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.3385, allocations: 4 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.3385, allocations: 0 / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.3386, allocations: 4 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.463e-06/0.3386, allocations: 0 / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.3389, allocations: 131.8 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.3389, allocations: 8 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.201e-05/0.3389, allocations: 0 / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3391, allocations: 99.98 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3391, allocations: 0 / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.895e-06/0.3391, allocations: 7.938 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3391, allocations: 0 / 1.323 GB, free: 0.6602 MB / 1.014 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.0003716/0.3395, allocations: 351.1 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3395, allocations: 15.98 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.681e-05/0.3396, allocations: 110 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.3396, allocations: 84.17 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.3399, allocations: 235.7 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.3399, allocations: 150.9 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.34, allocations: 150.9 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.571e-05/0.3401, allocations: 112.9 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/0.3401, allocations: 79.28 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-05/0.3402, allocations: 150.6 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.42e-05/0.3403, allocations: 158.5 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.3403, allocations: 154.5 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.3407, allocations: 438 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3408, allocations: 181.1 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.3408, allocations: 80.14 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.3409, allocations: 79.22 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.3409, allocations: 105.8 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3409, allocations: 0 / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.928e-05/0.341, allocations: 33.62 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.3411, allocations: 142.6 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3412, allocations: 93.86 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3412, allocations: 25.7 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.3412, allocations: 84.14 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.3412, allocations: 0 / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.3413, allocations: 9.719 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3414, allocations: 311 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-06/0.3414, allocations: 4 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.3414, allocations: 0 / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.3415, allocations: 79.28 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.62e-05/0.3415, allocations: 79.27 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.981e-05/0.3416, allocations: 33.69 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.3416, allocations: 83.28 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/0.3417, allocations: 79.22 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.467e-05/0.3417, allocations: 158.6 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.022e-05/0.3418, allocations: 79.34 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.268e-05/0.3418, allocations: 150.6 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.584e-05/0.3419, allocations: 83.3 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.342, allocations: 83.2 kB / 1.327 GB, free: 12.25 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.0001422/0.3421, allocations: 256.4 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/0.3422, allocations: 116.9 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.3422, allocations: 108 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.66e-05/0.3423, allocations: 176.3 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.731e-05/0.3424, allocations: 180.2 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-05/0.3425, allocations: 184.2 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.3428, allocations: 401.2 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-05/0.3428, allocations: 112.8 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.3429, allocations: 105 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-05/0.3429, allocations: 176.3 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/0.343, allocations: 184.2 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.242e-05/0.3431, allocations: 180.3 kB / 1.33 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.87e-05/0.3432, allocations: 192.2 kB / 1.33 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.3434, allocations: 299.8 kB / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3435, allocations: 186 kB / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3436, allocations: 180.3 kB / 1.33 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.3437, allocations: 112.9 kB / 1.33 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.3438, allocations: 184.2 kB / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.3438, allocations: 104.9 kB / 1.331 GB, free: 8.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.3439, allocations: 75.28 kB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3439, allocations: 0 / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003543/0.3442, allocations: 43.8 kB / 1.331 GB, free: 8.547 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.00102/0.3452, allocations: 0.9523 MB / 1.332 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.501e-05/0.3453, allocations: 0 / 1.332 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3453, allocations: 0 / 1.332 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.369e-06/0.3453, allocations: 3.938 kB / 1.332 GB, free: 7.602 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.3457, allocations: 461.2 kB / 1.332 GB, free: 7.148 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.3471, allocations: 1.564 MB / 1.334 GB, free: 5.508 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.3475, allocations: 0.669 MB / 1.334 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.036e-05/0.3475, allocations: 0 / 1.334 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.3476, allocations: 11.44 kB / 1.334 GB, free: 4.801 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.3476, allocations: 0 / 1.334 GB, free: 4.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.382, allocations: 1.899 MB / 1.336 GB, free: 3.059 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.389, allocations: 19.81 kB / 1.336 GB, free: 3.043 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.077175664016977]