Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001971/0.001971, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002303/0.002303, allocations: 223.5 kB / 23.03 MB, free: 4.945 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.8 MB / 0.7715 GB, free: 3.879 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.002007/0.002007, allocations: 64.41 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3379, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.00338/0.3412, allocations: 1.294 MB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3428, allocations: 0.8221 MB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.3428, allocations: 0 / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.3429, allocations: 3.938 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.3431, allocations: 11.92 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.3434, allocations: 49.3 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.289e-05/0.3435, allocations: 23.92 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.3435, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.3436, allocations: 15.92 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3437, allocations: 7.984 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3437, allocations: 4 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-05/0.3437, allocations: 11.94 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.3438, allocations: 7.984 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.3438, allocations: 15.92 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.3439, allocations: 11.98 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3439, allocations: 0 / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3439, allocations: 0 / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3439, allocations: 0 / 1.286 GB, free: 8.391 MB / 0.9825 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.0004286/0.3444, allocations: 265.7 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3444, allocations: 8.031 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.666e-05/0.3445, allocations: 77.28 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.887e-05/0.3446, allocations: 110 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.813e-05/0.3446, allocations: 80.22 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.3448, allocations: 181.8 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.711e-05/0.3449, allocations: 150.9 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-05/0.3449, allocations: 150.9 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.485e-05/0.345, allocations: 121.2 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.3451, allocations: 75.28 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.3452, allocations: 150.6 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/0.3452, allocations: 154.5 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.116e-05/0.3453, allocations: 150.6 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.3457, allocations: 433 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3458, allocations: 169.1 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.3458, allocations: 80.14 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.3458, allocations: 75.28 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.03e-05/0.3459, allocations: 121.7 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3459, allocations: 0 / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.338e-05/0.346, allocations: 29.66 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.3461, allocations: 126.7 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.3462, allocations: 109.8 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3462, allocations: 25.7 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.3463, allocations: 84.08 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.3463, allocations: 4 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.3463, allocations: 21.7 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3465, allocations: 314.8 kB / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.3465, allocations: 0 / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.3465, allocations: 37.69 kB / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.3466, allocations: 16.86 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3466, allocations: 0 / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001333/0.3467, allocations: 41.69 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3467, allocations: 8.062 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3467, allocations: 4 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3468, allocations: 0 / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.3468, allocations: 4.188 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3468, allocations: 3.938 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.347, allocations: 8 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.347, allocations: 0 / 1.29 GB, free: 4.859 MB / 0.9825 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.0001507/0.3471, allocations: 189.1 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.404e-05/0.3472, allocations: 108.9 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.257e-05/0.3473, allocations: 112.5 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.271e-05/0.3474, allocations: 180.2 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.706e-05/0.3475, allocations: 180.3 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.77e-05/0.3475, allocations: 188.2 kB / 1.29 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.3478, allocations: 372.3 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-05/0.3479, allocations: 105 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.3479, allocations: 104.9 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.299e-05/0.348, allocations: 184.2 kB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.3481, allocations: 180.2 kB / 1.291 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.202e-05/0.3482, allocations: 180.5 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.652e-05/0.3483, allocations: 188.2 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.3485, allocations: 303.8 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.3486, allocations: 120.9 kB / 1.292 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.3487, allocations: 176.3 kB / 1.292 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3488, allocations: 108.9 kB / 1.292 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.3489, allocations: 180.3 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/0.3489, allocations: 101 kB / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.349, allocations: 87.27 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.349, allocations: 3.938 kB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002534/0.3492, allocations: 7.938 kB / 1.293 GB, free: 1.371 MB / 0.9825 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.0006077/0.3498, allocations: 0.8282 MB / 1.294 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.77e-05/0.3499, allocations: 4 kB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3499, allocations: 0 / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-06/0.3499, allocations: 3.984 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3503, allocations: 461.8 kB / 1.294 GB, free: 56 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3515, allocations: 1.287 MB / 1.295 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.549e-05/0.3516, allocations: 59.3 kB / 1.295 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.196e-05/0.3516, allocations: 4.156 kB / 1.295 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.3516, allocations: 15.42 kB / 1.295 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.3516, allocations: 0 / 1.295 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.3751, allocations: 1.449 MB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.87, allocations: 12.17 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.807496002991684]