Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001977/0.001977, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002188/0.002188, allocations: 216.8 kB / 22.24 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 7.805 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 3.007/3.007, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 176] 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,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_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.002168/0.002168, allocations: 66.2 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3673, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002994/0.3703, allocations: 1.272 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3718, allocations: 0.822 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.3719, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.052e-05/0.3719, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.3722, allocations: 15.92 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.3724, allocations: 49.73 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.882e-05/0.3725, allocations: 19.98 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.3726, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.3726, allocations: 23.86 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.3727, allocations: 5.875 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.3727, allocations: 4 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.556e-05/0.3728, allocations: 8 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.3729, allocations: 11.92 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.3729, allocations: 7.984 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.373, allocations: 23.91 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.373, allocations: 4 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.824e-06/0.373, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.373, allocations: 0 / 1.285 GB, free: 10.18 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.0004499/0.3735, allocations: 255.7 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.3735, allocations: 12.03 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.641e-05/0.3736, allocations: 106 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.568e-05/0.3737, allocations: 80.22 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.3739, allocations: 189.7 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-05/0.374, allocations: 154.9 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.492e-05/0.374, allocations: 154.9 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.518e-05/0.3741, allocations: 103.4 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.3742, allocations: 87.2 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.3742, allocations: 150.6 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.507e-05/0.3743, allocations: 150.6 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.3744, allocations: 154.6 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.3748, allocations: 421 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3749, allocations: 169.1 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.3749, allocations: 92.19 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.375, allocations: 75.28 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.449e-05/0.375, allocations: 105.8 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.375, allocations: 0 / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001111/0.3751, allocations: 45.53 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.3752, allocations: 126.7 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3754, allocations: 105.8 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3754, allocations: 25.7 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.3755, allocations: 80.14 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-06/0.3755, allocations: 0 / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.3755, allocations: 25.7 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3757, allocations: 310.8 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.3757, allocations: 4 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/0.3758, allocations: 33.69 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.429e-05/0.3758, allocations: 24.89 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3758, allocations: 0 / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001468/0.376, allocations: 45.62 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.376, allocations: 7.938 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.376, allocations: 0 / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.376, allocations: 4 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.376, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.376, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.904e-05/0.3761, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3762, allocations: 7.984 kB / 1.288 GB, free: 6.738 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.0001538/0.3763, allocations: 185.2 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.3764, allocations: 120.9 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.3765, allocations: 108.4 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.039e-05/0.3766, allocations: 176.3 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.499e-05/0.3767, allocations: 188.1 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.299e-05/0.3768, allocations: 180.2 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.377, allocations: 372.6 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-05/0.3771, allocations: 104.9 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.3772, allocations: 113 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.3773, allocations: 184.1 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.033e-05/0.3774, allocations: 184.3 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-05/0.3774, allocations: 180.3 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.16e-05/0.3775, allocations: 180.4 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.3777, allocations: 315.8 kB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.3778, allocations: 109 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.3779, allocations: 184.1 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.378, allocations: 109 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.3781, allocations: 176.3 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.3781, allocations: 104.9 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.817e-05/0.3782, allocations: 87.28 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3782, allocations: 0 / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000249/0.3785, allocations: 8 kB / 1.291 GB, free: 3.242 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.0007241/0.3792, allocations: 0.8236 MB / 1.292 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.199e-05/0.3793, allocations: 7.938 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3793, allocations: 0 / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.3793, allocations: 3.938 kB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.3797, allocations: 463.7 kB / 1.292 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.3811, allocations: 1.287 MB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.586e-05/0.3811, allocations: 59.34 kB / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.3812, allocations: 0 / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.3812, allocations: 11.44 kB / 1.294 GB, free: 480 kB / 0.9825 GB Notification: Performance of SimCode: time 1.092e-06/0.3812, allocations: 0 / 1.294 GB, free: 480 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03315/0.4144, allocations: 1.786 MB / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.92, allocations: 9.219 kB / 1.295 GB, free: 14.82 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.178732632193714]