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.001318/0.001318, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001475/0.001475, allocations: 217 kB / 22.25 MB, free: 5.082 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 MB, free: 8.047 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.202/3.202, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001999/0.001999, allocations: 70.77 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3439, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002624/0.3465, allocations: 1.298 MB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.3479, allocations: 0.8262 MB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.348, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.348, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.3482, allocations: 11.94 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.3485, allocations: 52.98 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.58e-05/0.3485, allocations: 27.97 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.3486, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.089e-05/0.3487, allocations: 15.88 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3488, allocations: 11.97 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.3488, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.906e-05/0.3489, allocations: 8 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.3489, allocations: 7.984 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.3489, allocations: 7.938 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.349, allocations: 28.12 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3491, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3491, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.3491, allocations: 4 kB / 1.328 GB, free: 15.66 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.000353/0.3494, allocations: 250.4 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3495, allocations: 12.03 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.511e-05/0.3495, allocations: 106 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.3496, allocations: 76.22 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.3498, allocations: 193.7 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/0.3498, allocations: 162.9 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-05/0.3499, allocations: 154.9 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.146e-05/0.35, allocations: 105.5 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.35, allocations: 79.22 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.205e-05/0.3501, allocations: 154.6 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.19e-05/0.3501, allocations: 150.6 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.705e-05/0.3502, allocations: 154.6 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.3505, allocations: 428.9 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.11e-05/0.3506, allocations: 169.1 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.3507, allocations: 80.14 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.3507, allocations: 79.28 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.3508, allocations: 109.8 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3508, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.75e-05/0.3508, allocations: 33.58 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.3509, allocations: 126.7 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.351, allocations: 105.8 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.3511, allocations: 25.7 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.3511, allocations: 88.14 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3511, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.3512, allocations: 21.7 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3513, allocations: 310.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.3513, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.3513, allocations: 7.984 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.3514, allocations: 16.86 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3514, allocations: 96 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.3515, allocations: 53.56 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3515, allocations: 7.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3515, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3515, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.3515, allocations: 256 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3515, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.104e-05/0.3516, allocations: 7.953 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3516, allocations: 7.984 kB / 1.331 GB, free: 12.23 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.0001165/0.3517, allocations: 185.2 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.3518, allocations: 112.9 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.3519, allocations: 108.4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.502e-05/0.352, allocations: 176.3 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.989e-05/0.352, allocations: 184.2 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.778e-05/0.3521, allocations: 180.3 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.3524, allocations: 380.3 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.305e-05/0.3524, allocations: 104.9 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.3525, allocations: 104.9 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.37e-05/0.3525, allocations: 184.3 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.277e-05/0.3526, allocations: 188.3 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.85e-05/0.3527, allocations: 184.3 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.287e-05/0.3528, allocations: 184.2 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.3529, allocations: 303.8 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.353, allocations: 105 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.99e-05/0.3531, allocations: 188.2 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.627e-05/0.3532, allocations: 108.9 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.3533, allocations: 176.3 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.3533, allocations: 108.9 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.194e-05/0.3534, allocations: 87.27 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3534, allocations: 0 / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002436/0.3536, allocations: 4 kB / 1.334 GB, free: 8.734 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.0006587/0.3543, allocations: 0.8228 MB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.7e-05/0.3544, allocations: 15.92 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3544, allocations: 0 / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.873e-06/0.3544, allocations: 4.062 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.3548, allocations: 455.7 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.356, allocations: 1.295 MB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3563, allocations: 0.6729 MB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.193e-05/0.3563, allocations: 3.984 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.3563, allocations: 11.44 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of SimCode: time 6.62e-07/0.3563, allocations: 4.031 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.3877, allocations: 1.356 MB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.43, allocations: 6.891 kB / 1.339 GB, free: 4.109 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: 18.34288243879564]