Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00161/0.00161, 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.001992/0.001992, allocations: 214.9 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.088/3.088, allocations: 0.49 GB / 0.7959 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_12_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.001905/0.001905, allocations: 67.12 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3278, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002554/0.3304, allocations: 1.289 MB / 1.328 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3317, allocations: 0.8262 MB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.3317, allocations: 0 / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.3317, allocations: 3.938 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.3319, allocations: 11.98 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.3321, allocations: 50.88 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.282e-05/0.3322, allocations: 27.91 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.3322, allocations: 0 / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.124e-05/0.3323, allocations: 15.92 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.3324, allocations: 11.98 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.3324, allocations: 4 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.018e-05/0.3325, allocations: 7.984 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.696e-05/0.3325, allocations: 11.94 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.3325, allocations: 3.938 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.172e-05/0.3326, allocations: 28.12 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3326, allocations: 0 / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3326, allocations: 0 / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3326, allocations: 0 / 1.329 GB, free: 15.65 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.0003075/0.3329, allocations: 250.4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.333, allocations: 16.03 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.871e-05/0.333, allocations: 79.45 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/0.3331, allocations: 106 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.3331, allocations: 76.22 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3333, allocations: 189.8 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/0.3333, allocations: 150.9 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.3334, allocations: 158.9 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.347e-05/0.3335, allocations: 113.2 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.3335, allocations: 75.28 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.3336, allocations: 150.6 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.818e-05/0.3336, allocations: 150.6 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.042e-05/0.3337, allocations: 154.6 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.334, allocations: 425 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.364e-05/0.3341, allocations: 173.1 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.3342, allocations: 84.14 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.3342, allocations: 75.28 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.3342, allocations: 117.8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.3342, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.62e-05/0.3343, allocations: 25.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.3344, allocations: 130.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3345, allocations: 113.8 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3345, allocations: 25.7 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.3346, allocations: 84.14 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.3346, allocations: 4 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.3346, allocations: 17.66 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3348, allocations: 314.8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.3348, allocations: 4 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/0.3348, allocations: 12 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.439e-05/0.3348, allocations: 16.84 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3348, allocations: 3.938 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001073/0.335, allocations: 41.78 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.335, allocations: 11.94 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.335, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.335, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.986e-06/0.335, allocations: 3.984 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.706e-06/0.335, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.3351, allocations: 7.938 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3351, allocations: 256 / 1.332 GB, free: 12.15 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 (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.0001308/0.3352, allocations: 189.2 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.3353, allocations: 112.9 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/0.3353, allocations: 108.4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.608e-05/0.3354, allocations: 184.2 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.593e-05/0.3355, allocations: 180.3 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.387e-05/0.3356, allocations: 180.2 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3358, allocations: 380.3 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.828e-05/0.3359, allocations: 101 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.3359, allocations: 104.9 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-05/0.336, allocations: 192.3 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/0.3361, allocations: 188.3 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.931e-05/0.3361, allocations: 176.3 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-05/0.3362, allocations: 180.3 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.3364, allocations: 307.8 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.3364, allocations: 112.9 kB / 1.335 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.378e-05/0.3365, allocations: 176.3 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.3366, allocations: 105 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.3367, allocations: 188.2 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.3367, allocations: 105 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.3368, allocations: 79.28 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3368, allocations: 0 / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002391/0.337, allocations: 4 kB / 1.335 GB, free: 8.66 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.0006002/0.3376, allocations: 0.832 MB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.557e-05/0.3377, allocations: 4 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3377, allocations: 0 / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3377, allocations: 0 / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3381, allocations: 468.8 kB / 1.337 GB, free: 7.336 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3392, allocations: 1.295 MB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.3395, allocations: 0.6768 MB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.831e-05/0.3395, allocations: 3.984 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.3395, allocations: 7.438 kB / 1.339 GB, free: 5.246 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3395, allocations: 8.031 kB / 1.339 GB, free: 5.238 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.363, allocations: 1.387 MB / 1.34 GB, free: 4.008 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.37, allocations: 12.14 kB / 1.34 GB, free: 4.004 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.98087944398867]