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.00176/0.00176, 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.002556/0.002556, allocations: 214.7 kB / 23.02 MB, free: 4.953 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.491/1.491, allocations: 230.6 MB / 256.8 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.176/3.176, allocations: 0.49 GB / 0.7959 GB, free: 35.68 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001879/0.001879, allocations: 63.14 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3718, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002556/0.3743, allocations: 1.29 MB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3756, allocations: 0.8184 MB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.3756, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.3757, allocations: 3.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.3759, allocations: 8 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.3761, allocations: 49.86 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.148e-05/0.3762, allocations: 27.91 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.3762, allocations: 4 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.805e-05/0.3763, allocations: 8 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.3763, allocations: 15.91 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3764, allocations: 4 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.85e-05/0.3764, allocations: 4 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.3764, allocations: 4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.3765, allocations: 7.984 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.721e-05/0.3766, allocations: 28.12 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3766, allocations: 0 / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3766, allocations: 3.938 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3766, allocations: 4 kB / 1.329 GB, free: 15.23 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.000323/0.3769, allocations: 250.4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3769, allocations: 12.03 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.705e-05/0.377, allocations: 75.47 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.377, allocations: 106 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.917e-05/0.3771, allocations: 76.22 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.3772, allocations: 189.8 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.3773, allocations: 150.9 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.3774, allocations: 154.9 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.784e-05/0.3774, allocations: 109.3 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.3775, allocations: 79.27 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.3775, allocations: 158.5 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.975e-05/0.3776, allocations: 154.6 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.001e-05/0.3777, allocations: 150.6 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.378, allocations: 424.9 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3781, allocations: 177.1 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.3781, allocations: 84.08 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.3782, allocations: 79.27 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/0.3782, allocations: 109.8 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3782, allocations: 3.938 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.629e-05/0.3783, allocations: 29.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.3784, allocations: 130.7 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.3785, allocations: 105.8 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3785, allocations: 29.69 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.3786, allocations: 88.14 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.3786, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.3786, allocations: 17.7 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3787, allocations: 310.8 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.3788, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.782e-05/0.3788, allocations: 45.62 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.3788, allocations: 12.86 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3788, allocations: 4.094 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.905e-05/0.3789, allocations: 37.94 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.379, allocations: 11.94 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.379, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.379, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-06/0.379, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.379, allocations: 3.984 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.3791, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.3791, allocations: 4 kB / 1.332 GB, free: 11.7 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.0001316/0.3792, allocations: 197.1 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.3793, allocations: 112.9 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.3794, allocations: 104.5 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.759e-05/0.3794, allocations: 184.2 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.38e-05/0.3795, allocations: 176.3 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.181e-05/0.3796, allocations: 180.2 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.3799, allocations: 376.2 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-05/0.3799, allocations: 105 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.38, allocations: 108.9 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-05/0.38, allocations: 184.4 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/0.3801, allocations: 196.2 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.99e-05/0.3802, allocations: 180.3 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.369e-05/0.3803, allocations: 176.3 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.3804, allocations: 311.8 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.666e-05/0.3805, allocations: 108.9 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.308e-05/0.3806, allocations: 180.3 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-05/0.3807, allocations: 105 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.3808, allocations: 180.2 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.3808, allocations: 109 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.757e-05/0.3808, allocations: 79.28 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3808, allocations: 0 / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002288/0.3811, allocations: 7.938 kB / 1.335 GB, free: 8.203 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.0006415/0.3817, allocations: 0.8298 MB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.334e-05/0.3818, allocations: 4 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3818, allocations: 0 / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3818, allocations: 0 / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.3822, allocations: 467.6 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3834, allocations: 1.295 MB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.92e-05/0.3835, allocations: 63.34 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.3835, allocations: 0 / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.3835, allocations: 7.438 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3835, allocations: 0 / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.4073, allocations: 1.445 MB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.4, allocations: 6.516 kB / 1.339 GB, free: 4.129 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.360377734992653]