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.001736/0.001736, 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.002388/0.002388, allocations: 217.5 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.1/3.1, allocations: 0.49 GB / 0.7959 GB, free: 33.55 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_NonzeroStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_12_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.001918/0.001918, allocations: 68.58 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3525, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002552/0.3551, allocations: 1.289 MB / 1.328 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.3563, allocations: 0.8258 MB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.3563, allocations: 0 / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.3563, allocations: 0 / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.3565, allocations: 11.91 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.3567, allocations: 64.11 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.954e-05/0.3568, allocations: 15.94 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.3568, allocations: 3.984 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/0.3569, allocations: 15.92 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.357, allocations: 11.94 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.357, allocations: 4 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-05/0.3571, allocations: 11.97 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.3571, allocations: 4 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.3572, allocations: 3.938 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.3572, allocations: 32.12 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3573, allocations: 4 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3573, allocations: 0 / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.3573, allocations: 0 / 1.329 GB, free: 15.64 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.0003334/0.3576, allocations: 254.3 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3576, allocations: 12.03 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.523e-05/0.3577, allocations: 79.47 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.451e-05/0.3578, allocations: 106 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.3578, allocations: 76.22 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.358, allocations: 193.8 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.3581, allocations: 154.9 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/0.3581, allocations: 158.9 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.962e-05/0.3582, allocations: 105.3 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.3582, allocations: 75.28 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.3583, allocations: 154.6 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/0.3584, allocations: 154.6 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.947e-05/0.3584, allocations: 150.6 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.3588, allocations: 425 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.3589, allocations: 173.1 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.3589, allocations: 84.14 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.3589, allocations: 75.28 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.809e-05/0.359, allocations: 113.8 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.359, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.453e-05/0.3591, allocations: 29.64 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.3592, allocations: 138.7 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3593, allocations: 105.8 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3593, allocations: 25.7 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.3594, allocations: 80.14 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.3594, allocations: 0 / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.3594, allocations: 17.7 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3596, allocations: 318.8 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.3596, allocations: 4 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.3596, allocations: 12 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.3596, allocations: 16.84 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3596, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001093/0.3597, allocations: 45.62 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3598, allocations: 11.94 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3598, allocations: 3.984 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3598, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3598, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3598, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.3599, allocations: 8.125 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3599, allocations: 0 / 1.332 GB, free: 12.14 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.0001178/0.3601, allocations: 185.7 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.3601, allocations: 112.9 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.3602, allocations: 108.4 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.26e-05/0.3603, allocations: 180.2 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.704e-05/0.3604, allocations: 196.2 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.2e-05/0.3604, allocations: 176.3 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.3607, allocations: 376.3 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.831e-05/0.3608, allocations: 104.9 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.3608, allocations: 105.1 kB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.3609, allocations: 196.2 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.344e-05/0.361, allocations: 180.5 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-05/0.3611, allocations: 180.3 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-05/0.3612, allocations: 180.2 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.3614, allocations: 307.8 kB / 1.335 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-05/0.3614, allocations: 112.9 kB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/0.3615, allocations: 180.3 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.3616, allocations: 104.9 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.3617, allocations: 184.2 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.3617, allocations: 104.9 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.673e-05/0.3618, allocations: 83.28 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3618, allocations: 4 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002512/0.3621, allocations: 4 kB / 1.335 GB, free: 8.641 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.000594/0.3626, allocations: 0.8258 MB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.768e-05/0.3627, allocations: 11.94 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3627, allocations: 0 / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.3627, allocations: 0 / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.3631, allocations: 455.7 kB / 1.337 GB, free: 7.328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.3643, allocations: 1.295 MB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3647, allocations: 0.6808 MB / 1.339 GB, free: 5.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.3647, allocations: 4 kB / 1.339 GB, free: 5.242 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.3647, allocations: 7.438 kB / 1.339 GB, free: 5.234 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3647, allocations: 0 / 1.339 GB, free: 5.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.3881, allocations: 1.403 MB / 1.34 GB, free: 4.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.5, allocations: 10.17 kB / 1.34 GB, free: 4.012 MB / 1.029 GB " [Timeout remaining time 288] (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.12787910597399]