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.001643/0.001643, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002068/0.002068, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.797 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.106/3.106, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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="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.002029/0.002029, allocations: 70.39 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3749, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002849/0.3777, allocations: 1.287 MB / 1.326 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3792, allocations: 0.8219 MB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.3792, allocations: 4 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.3792, allocations: 3.938 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.3795, allocations: 11.92 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.3797, allocations: 55.86 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.3798, allocations: 23.92 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.3798, allocations: 0 / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.3799, allocations: 15.97 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.38, allocations: 7.938 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.38, allocations: 4 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.499e-05/0.38, allocations: 4 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.3801, allocations: 11.97 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.3801, allocations: 7.938 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.3802, allocations: 24.19 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3802, allocations: 3.938 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3802, allocations: 0 / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3802, allocations: 0 / 1.327 GB, free: 92 kB / 1.014 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.0004/0.3806, allocations: 254.4 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3807, allocations: 8.031 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.529e-05/0.3808, allocations: 106 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.3808, allocations: 80.22 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.381, allocations: 193.7 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/0.3811, allocations: 154.9 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.3811, allocations: 154.9 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.317e-05/0.3812, allocations: 101.5 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.3812, allocations: 83.16 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/0.3813, allocations: 158.5 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.348e-05/0.3814, allocations: 154.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.3814, allocations: 150.6 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.3818, allocations: 425 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3819, allocations: 173.1 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.3819, allocations: 80.14 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.3819, allocations: 79.22 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.382, allocations: 105.8 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.382, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.832e-05/0.3821, allocations: 37.64 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.3822, allocations: 126.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3823, allocations: 109.8 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3823, allocations: 25.7 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.3824, allocations: 84.14 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.3824, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.3824, allocations: 21.7 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3825, allocations: 314.8 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.3826, allocations: 4 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.3826, allocations: 41.62 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.698e-05/0.3827, allocations: 12.86 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3827, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001155/0.3828, allocations: 41.69 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.3828, allocations: 11.94 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3828, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3828, allocations: 4.125 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.3828, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3828, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.383, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.383, allocations: 7.984 kB / 1.33 GB, free: 12.64 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.0001118/0.3831, allocations: 185.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.3832, allocations: 112.8 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.3832, allocations: 104.5 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.367e-05/0.3833, allocations: 192.2 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-05/0.3834, allocations: 176.3 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.798e-05/0.3835, allocations: 180.3 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3837, allocations: 384.2 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.323e-05/0.3838, allocations: 105 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.3838, allocations: 105.1 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.013e-05/0.3839, allocations: 192.2 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.204e-05/0.384, allocations: 180.3 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.272e-05/0.3841, allocations: 180.2 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.922e-05/0.3842, allocations: 184.2 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.3843, allocations: 303.8 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.3844, allocations: 109.2 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/0.3845, allocations: 188.2 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.3846, allocations: 109 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.3847, allocations: 180.2 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.3847, allocations: 105 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.571e-05/0.3848, allocations: 87.27 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3848, allocations: 0 / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002484/0.385, allocations: 7.984 kB / 1.334 GB, free: 9.133 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.00059/0.3856, allocations: 0.8203 MB / 1.334 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.019e-05/0.3857, allocations: 11.98 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3857, allocations: 4 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.3857, allocations: 0 / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.3861, allocations: 451.7 kB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3874, allocations: 1.297 MB / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.966e-05/0.3875, allocations: 63.3 kB / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.031e-05/0.3875, allocations: 3.984 kB / 1.336 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.3875, allocations: 7.438 kB / 1.336 GB, free: 6.355 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.3875, allocations: 4.156 kB / 1.336 GB, free: 6.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.4184, allocations: 1.797 MB / 1.338 GB, free: 4.723 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.58, allocations: 14.78 kB / 1.338 GB, free: 4.715 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.17896847613156]