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.001421/0.001421, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001689/0.001689, allocations: 213.7 kB / 22.25 MB, free: 5.242 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.785 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.17/3.17, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001989/0.001989, allocations: 68.53 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3619, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002959/0.3649, allocations: 1.293 MB / 1.326 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.3662, allocations: 0.8106 MB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.3663, allocations: 0 / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.3663, allocations: 3.938 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.3665, allocations: 11.98 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.3667, allocations: 51.73 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.293e-05/0.3668, allocations: 31.86 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.3668, allocations: 4 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.76e-05/0.3669, allocations: 15.92 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.367, allocations: 7.984 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.367, allocations: 0 / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.953e-05/0.3671, allocations: 11.98 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.3671, allocations: 7.938 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.3671, allocations: 7.922 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3672, allocations: 24.19 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3672, allocations: 0 / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3672, allocations: 0 / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3672, allocations: 4 kB / 1.327 GB, free: 64 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.0003893/0.3676, allocations: 255.6 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3677, allocations: 11.97 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.822e-05/0.3677, allocations: 106 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.3678, allocations: 76.22 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.368, allocations: 189.7 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.3681, allocations: 154.9 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.3682, allocations: 154.9 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.55e-05/0.3683, allocations: 105.5 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/0.3683, allocations: 87.16 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.502e-05/0.3684, allocations: 154.6 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-05/0.3684, allocations: 154.6 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/0.3685, allocations: 150.6 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.3689, allocations: 417 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.369, allocations: 173.1 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.369, allocations: 88.08 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.3691, allocations: 75.28 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.3692, allocations: 105.8 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3692, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.515e-05/0.3692, allocations: 33.64 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.3693, allocations: 130.7 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3695, allocations: 105.8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3695, allocations: 25.7 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.3695, allocations: 84.14 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3695, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.3696, allocations: 21.7 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3697, allocations: 310.8 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.3698, allocations: 7.938 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.3698, allocations: 37.69 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.3699, allocations: 20.8 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3699, allocations: 4.094 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000116/0.37, allocations: 37.69 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.37, allocations: 11.94 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.37, allocations: 256 / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.37, allocations: 0 / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.895e-06/0.37, allocations: 4 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.37, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.3701, allocations: 3.984 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3701, allocations: 7.938 kB / 1.33 GB, free: 12.61 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.0001271/0.3703, allocations: 189 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.3703, allocations: 120.9 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.313e-05/0.3704, allocations: 104.5 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.412e-05/0.3705, allocations: 184.2 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-05/0.3706, allocations: 176.3 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.482e-05/0.3707, allocations: 184.2 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.3709, allocations: 372.3 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.048e-05/0.371, allocations: 109 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.3711, allocations: 108.9 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.134e-05/0.3711, allocations: 180.4 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.71e-05/0.3712, allocations: 192.3 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.515e-05/0.3713, allocations: 184.3 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.47e-05/0.3714, allocations: 176.3 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3716, allocations: 311.8 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/0.3717, allocations: 104.9 kB / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.3718, allocations: 184.2 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3719, allocations: 105 kB / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.372, allocations: 180.2 kB / 1.333 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.372, allocations: 105 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.471e-05/0.3721, allocations: 83.28 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3721, allocations: 0 / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002558/0.3723, allocations: 4 kB / 1.334 GB, free: 9.117 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.0007104/0.373, allocations: 0.8297 MB / 1.334 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.792e-05/0.3731, allocations: 4 kB / 1.334 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3731, allocations: 0 / 1.334 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.3731, allocations: 0 / 1.334 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.3735, allocations: 467.6 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.3748, allocations: 1.291 MB / 1.336 GB, free: 6.426 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.69e-05/0.3748, allocations: 63.38 kB / 1.336 GB, free: 6.344 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.3749, allocations: 4 kB / 1.336 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.3749, allocations: 11.38 kB / 1.336 GB, free: 6.328 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3749, allocations: 0 / 1.336 GB, free: 6.328 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.4071, allocations: 1.785 MB / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.34, allocations: 12.23 kB / 1.338 GB, free: 4.676 MB / 1.029 GB " [Timeout remaining time 289] (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.177421119064093]