Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.001888/0.001888, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002234/0.002234, allocations: 213.3 kB / 22.25 MB, free: 5.258 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.793 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.215/3.215, allocations: 0.49 GB / 0.7951 GB, free: 35.41 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_NonzeroStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.001991/0.001991, allocations: 66.19 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3876, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002556/0.3901, allocations: 1.293 MB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3914, allocations: 0.8259 MB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.3914, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.3915, allocations: 3.938 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.3917, allocations: 7.984 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.3919, allocations: 58.17 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.451e-05/0.392, allocations: 19.92 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.392, allocations: 3.984 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.3921, allocations: 8 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.3922, allocations: 20.48 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.3922, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.227e-05/0.3922, allocations: 7.984 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.3923, allocations: 4 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.3923, allocations: 11.92 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.3924, allocations: 24.14 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3924, allocations: 0 / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3924, allocations: 4 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3924, allocations: 0 / 1.328 GB, free: 15.22 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.000339/0.3928, allocations: 250.3 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3928, allocations: 8.031 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.579e-05/0.3929, allocations: 114 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.3929, allocations: 80.16 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.3931, allocations: 189.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.3932, allocations: 154.9 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/0.3932, allocations: 150.9 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.852e-05/0.3933, allocations: 105.5 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.3933, allocations: 79.22 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.3934, allocations: 154.5 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.115e-05/0.3935, allocations: 150.6 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.3935, allocations: 158.5 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.3939, allocations: 437 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.394, allocations: 169.1 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.394, allocations: 80.14 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.394, allocations: 79.22 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.3941, allocations: 113.8 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3941, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.934e-05/0.3942, allocations: 29.64 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.3943, allocations: 130.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3944, allocations: 109.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3944, allocations: 25.7 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.3945, allocations: 84.14 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.3945, allocations: 4 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.3945, allocations: 13.72 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3946, allocations: 318.8 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.3946, allocations: 0 / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.852e-05/0.3947, allocations: 41.64 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.079e-05/0.3947, allocations: 16.84 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3947, allocations: 0 / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000111/0.3948, allocations: 37.7 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3949, allocations: 9.656 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.3949, allocations: 4.125 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3949, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.875e-06/0.3949, allocations: 3.984 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3949, allocations: 0 / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.395, allocations: 4 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.395, allocations: 0 / 1.331 GB, free: 11.77 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.0001176/0.3952, allocations: 189.7 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.3952, allocations: 120.7 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.3953, allocations: 108.5 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.208e-05/0.3954, allocations: 180.2 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.631e-05/0.3954, allocations: 180.3 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-05/0.3955, allocations: 184.3 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.3958, allocations: 376.2 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.201e-05/0.3958, allocations: 101 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.3959, allocations: 109.1 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.114e-05/0.3959, allocations: 196.2 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/0.396, allocations: 176.3 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-05/0.3961, allocations: 180.2 kB / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.79e-05/0.3962, allocations: 180.3 kB / 1.333 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.3963, allocations: 307.8 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.3964, allocations: 112.9 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.3965, allocations: 184.1 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.3966, allocations: 101 kB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.3966, allocations: 192.2 kB / 1.334 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.3967, allocations: 101.2 kB / 1.334 GB, free: 8.352 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.854e-05/0.3967, allocations: 83.28 kB / 1.334 GB, free: 8.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3967, allocations: 0 / 1.334 GB, free: 8.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002243/0.397, allocations: 4 kB / 1.334 GB, free: 8.266 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.0005886/0.3975, allocations: 0.8282 MB / 1.335 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.281e-05/0.3976, allocations: 4 kB / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3976, allocations: 0 / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.3976, allocations: 4 kB / 1.335 GB, free: 7.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.398, allocations: 457.7 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3991, allocations: 1.298 MB / 1.337 GB, free: 5.574 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.3992, allocations: 63.28 kB / 1.337 GB, free: 5.492 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.716e-05/0.3992, allocations: 0 / 1.337 GB, free: 5.492 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.3992, allocations: 15.59 kB / 1.337 GB, free: 5.477 MB / 1.029 GB Notification: Performance of SimCode: time 4.7e-07/0.3992, allocations: 0 / 1.337 GB, free: 5.477 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.4313, allocations: 1.819 MB / 1.339 GB, free: 3.828 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.23, allocations: 8.266 kB / 1.339 GB, free: 3.82 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.17358344802051]