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.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.001288/0.001288, 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.001533/0.001533, allocations: 219.2 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.731/2.731, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_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.002314/0.002314, allocations: 64.36 kB / 1.118 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3129, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002424/0.3153, allocations: 1.255 MB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.317, allocations: 1.108 MB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.317, allocations: 0 / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.3171, allocations: 7.938 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004363/0.3175, allocations: 107.6 kB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.519e-06/0.3175, allocations: 0 / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.847e-05/0.3175, allocations: 8 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.3176, allocations: 0 / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.492e-05/0.3176, allocations: 3.938 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3177, allocations: 9.828 kB / 1.287 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.114e-06/0.3177, allocations: 0 / 1.287 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.318, allocations: 123.8 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.789e-06/0.318, allocations: 0 / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.318, allocations: 8 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.3182, allocations: 107.7 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3182, allocations: 0 / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3182, allocations: 0 / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3182, allocations: 0 / 1.287 GB, free: 9.016 MB / 0.9825 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.0003765/0.3186, allocations: 274 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3186, allocations: 8.031 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.671e-05/0.3187, allocations: 75.47 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.807e-05/0.3187, allocations: 106 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/0.3188, allocations: 84.16 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.319, allocations: 189.8 kB / 1.288 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/0.3191, allocations: 150.9 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/0.3191, allocations: 154.7 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.449e-05/0.3192, allocations: 105 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/0.3192, allocations: 79.28 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-05/0.3193, allocations: 154.6 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.146e-05/0.3194, allocations: 150.6 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.3195, allocations: 154.5 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.3198, allocations: 417 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3199, allocations: 177.2 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.32, allocations: 92.06 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.32, allocations: 79.22 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.32, allocations: 105.8 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.32, allocations: 0 / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.949e-05/0.3201, allocations: 29.64 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.3202, allocations: 130.7 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3203, allocations: 105.8 kB / 1.29 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3203, allocations: 25.7 kB / 1.29 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.3204, allocations: 80.14 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.3204, allocations: 4 kB / 1.29 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.3204, allocations: 9.719 kB / 1.29 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3205, allocations: 311 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.3205, allocations: 4 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-06/0.3206, allocations: 0 / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.3206, allocations: 75.28 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.281e-05/0.3206, allocations: 75.28 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.181e-05/0.3207, allocations: 41.58 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.3207, allocations: 79.28 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-05/0.3208, allocations: 83.27 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-05/0.3209, allocations: 158.5 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.706e-05/0.3209, allocations: 75.28 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.066e-05/0.321, allocations: 150.6 kB / 1.291 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.321, allocations: 83.22 kB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.3211, allocations: 75.28 kB / 1.291 GB, free: 4.742 MB / 0.9825 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.000136/0.3212, allocations: 264.4 kB / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.3213, allocations: 113 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.3213, allocations: 112.2 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.611e-05/0.3214, allocations: 176.3 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.301e-05/0.3215, allocations: 180.2 kB / 1.292 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-05/0.3216, allocations: 180.3 kB / 1.292 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.3218, allocations: 388.2 kB / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/0.3219, allocations: 101 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.3219, allocations: 101 kB / 1.292 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.713e-05/0.322, allocations: 184.2 kB / 1.293 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-05/0.3221, allocations: 184.2 kB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.248e-05/0.3222, allocations: 180.2 kB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.024e-05/0.3222, allocations: 180.3 kB / 1.293 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.3224, allocations: 311.6 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.3225, allocations: 109 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.3226, allocations: 180.2 kB / 1.294 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.3227, allocations: 105 kB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.3227, allocations: 184.2 kB / 1.294 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.3228, allocations: 101 kB / 1.294 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.129e-05/0.3228, allocations: 83.27 kB / 1.294 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3228, allocations: 0 / 1.294 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003522/0.3232, allocations: 35.81 kB / 1.294 GB, free: 1.168 MB / 0.9825 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.0009916/0.3242, allocations: 0.9562 MB / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.705e-05/0.3242, allocations: 0 / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3242, allocations: 0 / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.3242, allocations: 0 / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.3247, allocations: 459.7 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.326, allocations: 1.558 MB / 1.297 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.3264, allocations: 0.6806 MB / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.087e-05/0.3264, allocations: 4 kB / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.3264, allocations: 7.438 kB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.3264, allocations: 32 / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.3516, allocations: 2.012 MB / 1.3 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.79, allocations: 9.938 kB / 1.3 GB, free: 11.55 MB / 0.9981 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.401867244043387]