Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001961/0.001961, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002475/0.002475, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.549/1.549, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.09/3.09, allocations: 0.5003 GB / 0.8026 GB, free: 6.906 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_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.001961/0.001961, allocations: 78.06 kB / 1.165 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9294/0.9313, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002554/0.9339, allocations: 1.265 MB / 1.341 GB, free: 15.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.9353, allocations: 1.017 MB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.9353, allocations: 0 / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.9354, allocations: 4 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.9358, allocations: 112.1 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.9358, allocations: 0 / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.467e-05/0.9358, allocations: 5.312 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.9359, allocations: 2.469 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.683e-05/0.9359, allocations: 1.125 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.936, allocations: 6.953 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.063e-06/0.936, allocations: 0 / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.9362, allocations: 125.6 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-06/0.9362, allocations: 0 / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.3e-05/0.9362, allocations: 5 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.9364, allocations: 104.8 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9364, allocations: 1.5 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9364, allocations: 3.938 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.9365, allocations: 0 / 1.343 GB, free: 14.52 MB / 1.061 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.0002707/0.9367, allocations: 351.4 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.9368, allocations: 10.41 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.265e-05/0.9368, allocations: 76.08 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.9368, allocations: 110 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.9369, allocations: 78.97 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.937, allocations: 244.9 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.937, allocations: 150.9 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.937, allocations: 157.3 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.722e-05/0.9371, allocations: 104.9 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.9371, allocations: 79.28 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.9371, allocations: 153 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.9372, allocations: 154.5 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.9372, allocations: 150.6 kB / 1.344 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.9373, allocations: 445.8 kB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.055e-05/0.9374, allocations: 175.7 kB / 1.345 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.9374, allocations: 84.08 kB / 1.345 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.9374, allocations: 75.84 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.9374, allocations: 109.8 kB / 1.345 GB, free: 11.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.9374, allocations: 5.812 kB / 1.345 GB, free: 11.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.523e-05/0.9375, allocations: 34.86 kB / 1.345 GB, free: 11.69 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.9375, allocations: 130.6 kB / 1.345 GB, free: 11.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.9376, allocations: 95.38 kB / 1.346 GB, free: 11.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-06/0.9376, allocations: 25.7 kB / 1.346 GB, free: 11.42 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.431e-05/0.9376, allocations: 82.91 kB / 1.346 GB, free: 11.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.9376, allocations: 0 / 1.346 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.9376, allocations: 9.719 kB / 1.346 GB, free: 11.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.9377, allocations: 321.7 kB / 1.346 GB, free: 11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-06/0.9377, allocations: 0 / 1.346 GB, free: 11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-06/0.9377, allocations: 0 / 1.346 GB, free: 11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.361e-05/0.9377, allocations: 76.12 kB / 1.346 GB, free: 10.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.9377, allocations: 77.28 kB / 1.346 GB, free: 10.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.589e-05/0.9378, allocations: 31.91 kB / 1.346 GB, free: 10.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.9378, allocations: 81.89 kB / 1.346 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.9378, allocations: 79.22 kB / 1.346 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.552e-05/0.9379, allocations: 161.2 kB / 1.346 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.059e-05/0.9379, allocations: 79.22 kB / 1.347 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.9379, allocations: 156.8 kB / 1.347 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.9379, allocations: 75.94 kB / 1.347 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.938, allocations: 85.45 kB / 1.347 GB, free: 10.12 MB / 1.061 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 5.699e-05/0.938, allocations: 262.7 kB / 1.347 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.938, allocations: 105.7 kB / 1.347 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.9381, allocations: 114.8 kB / 1.347 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/0.9381, allocations: 181.9 kB / 1.347 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.767e-05/0.9381, allocations: 178.1 kB / 1.348 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/0.9382, allocations: 182 kB / 1.348 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.9383, allocations: 405.2 kB / 1.348 GB, free: 8.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.9383, allocations: 107.5 kB / 1.348 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.9383, allocations: 105.5 kB / 1.348 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.76e-05/0.9384, allocations: 178 kB / 1.349 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.9384, allocations: 181.6 kB / 1.349 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-05/0.9384, allocations: 182.8 kB / 1.349 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-05/0.9384, allocations: 186.4 kB / 1.349 GB, free: 7.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.057e-05/0.9385, allocations: 308.6 kB / 1.349 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.9385, allocations: 180.8 kB / 1.35 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.9386, allocations: 177.4 kB / 1.35 GB, free: 6.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.9386, allocations: 114.8 kB / 1.35 GB, free: 6.863 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.9387, allocations: 182.4 kB / 1.35 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.9387, allocations: 105.7 kB / 1.35 GB, free: 6.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.257e-05/0.9387, allocations: 79.23 kB / 1.35 GB, free: 6.496 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9387, allocations: 0 / 1.35 GB, free: 6.496 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003237/0.939, allocations: 42.92 kB / 1.35 GB, free: 6.48 MB / 1.061 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.0007193/0.9398, allocations: 0.9434 MB / 1.351 GB, free: 5.617 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.572e-05/0.9398, allocations: 5.5 kB / 1.351 GB, free: 5.613 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9398, allocations: 0 / 1.351 GB, free: 5.613 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.9398, allocations: 3.938 kB / 1.351 GB, free: 5.609 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.9401, allocations: 457.9 kB / 1.352 GB, free: 5.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008055/0.9409, allocations: 1.562 MB / 1.353 GB, free: 3.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.691e-05/0.941, allocations: 0.6721 MB / 1.354 GB, free: 2.875 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.215e-06/0.941, allocations: 0 / 1.354 GB, free: 2.875 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.941, allocations: 9.938 kB / 1.354 GB, free: 2.867 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.941, allocations: 4.031 kB / 1.354 GB, free: 2.863 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.9621, allocations: 1.947 MB / 1.356 GB, free: 2.402 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/9.084, allocations: 26.39 kB / 1.356 GB, free: 2.383 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.874878740985878]