Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001336/0.001336, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001439/0.001439, allocations: 219.1 kB / 23.04 MB, free: 5.074 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 8 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.156/3.156, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 177] 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001922/0.001922, allocations: 70.64 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002355/0.3293, allocations: 1.282 MB / 1.347 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3305, allocations: 0.8184 MB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.3305, allocations: 0 / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.3305, allocations: 3.938 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.3307, allocations: 19.91 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.3309, allocations: 49.8 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.59e-05/0.331, allocations: 19.94 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.331, allocations: 7.984 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.3311, allocations: 15.92 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.3312, allocations: 4 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3312, allocations: 0 / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.591e-05/0.3312, allocations: 23.84 kB / 1.348 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.3313, allocations: 4 kB / 1.348 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.3313, allocations: 7.938 kB / 1.348 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.027e-05/0.3314, allocations: 28.12 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3314, allocations: 4 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3314, allocations: 0 / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3314, allocations: 0 / 1.348 GB, free: 14.12 MB / 1.045 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.0003076/0.3317, allocations: 254.3 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3318, allocations: 8.031 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.062e-05/0.3318, allocations: 79.47 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.379e-05/0.3318, allocations: 106 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.3319, allocations: 80.22 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3321, allocations: 193.7 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/0.3321, allocations: 154.9 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.3322, allocations: 150.9 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.3323, allocations: 113.2 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.3323, allocations: 75.28 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.3324, allocations: 158.6 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.997e-05/0.3324, allocations: 150.6 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.909e-05/0.3325, allocations: 150.6 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.3328, allocations: 421 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.074e-05/0.3329, allocations: 177.1 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.3329, allocations: 80.14 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.3329, allocations: 79.27 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.333, allocations: 113.8 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.333, allocations: 0 / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.362e-05/0.3331, allocations: 25.7 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.3331, allocations: 130.7 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3332, allocations: 105.8 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3333, allocations: 25.7 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.3333, allocations: 92.08 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.3333, allocations: 0 / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.3334, allocations: 17.7 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3335, allocations: 310.8 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.3335, allocations: 4 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.3335, allocations: 15.98 kB / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.501e-05/0.3336, allocations: 12.86 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3336, allocations: 0 / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001103/0.3337, allocations: 49.58 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3337, allocations: 11.92 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3337, allocations: 0 / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3337, allocations: 7.938 kB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.3337, allocations: 0 / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.3337, allocations: 3.938 kB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.3338, allocations: 4.125 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3338, allocations: 4 kB / 1.351 GB, free: 10.62 MB / 1.045 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001116/0.3339, allocations: 189.1 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.334, allocations: 112.9 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.334, allocations: 112.2 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-05/0.3341, allocations: 180.2 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-05/0.3342, allocations: 180.3 kB / 1.352 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.772e-05/0.3343, allocations: 184.2 kB / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.3345, allocations: 376.4 kB / 1.352 GB, free: 9.211 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.351e-05/0.3346, allocations: 105 kB / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.3346, allocations: 108.9 kB / 1.352 GB, free: 8.988 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-05/0.3347, allocations: 188.2 kB / 1.352 GB, free: 8.797 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-05/0.3348, allocations: 184.5 kB / 1.353 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-05/0.3348, allocations: 184.3 kB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.432e-05/0.3349, allocations: 184.2 kB / 1.353 GB, free: 8.234 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.3351, allocations: 307.8 kB / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.3351, allocations: 108.9 kB / 1.353 GB, free: 7.797 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.3352, allocations: 180.3 kB / 1.354 GB, free: 7.613 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.3353, allocations: 104.9 kB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.3354, allocations: 180.2 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.3354, allocations: 109 kB / 1.354 GB, free: 7.207 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.3355, allocations: 83.28 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3355, allocations: 0 / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002383/0.3357, allocations: 4 kB / 1.354 GB, free: 7.121 MB / 1.045 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.0006168/0.3363, allocations: 0.8281 MB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.163e-05/0.3364, allocations: 4 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3364, allocations: 0 / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3364, allocations: 0 / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.3368, allocations: 463.6 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.3379, allocations: 1.299 MB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.3382, allocations: 0.6805 MB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.928e-05/0.3382, allocations: 4 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.3382, allocations: 7.438 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of SimCode: time 4.1e-07/0.3382, allocations: 0 / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.3622, allocations: 1.388 MB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.5, allocations: 6 kB / 1.359 GB, free: 2.477 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.24426298699109]