Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001956/0.001956, 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.002426/0.002426, allocations: 214 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.781 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 2.837/2.837, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [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.002119/0.002119, allocations: 67.52 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2936, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002603/0.2962, allocations: 1.395 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001563/0.2964, allocations: 35.83 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.2964, allocations: 4 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.2966, allocations: 15.86 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.2967, allocations: 27.86 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.476e-06/0.2967, allocations: 0 / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.2968, allocations: 15.98 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.2968, allocations: 0 / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.2968, allocations: 11.88 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.853e-05/0.2969, allocations: 11.92 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.2969, allocations: 0 / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.588e-05/0.2969, allocations: 12 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.297, allocations: 4 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.297, allocations: 11.92 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.2971, allocations: 35.84 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2971, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2971, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.2971, allocations: 0 / 1.285 GB, free: 10.39 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003283/0.2974, allocations: 258.2 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.2975, allocations: 8.031 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.2975, allocations: 8.891 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.2977, allocations: 114.5 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2977, allocations: 384 / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.2977, allocations: 384 / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.695e-05/0.2978, allocations: 34.27 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2978, allocations: 8.125 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.2978, allocations: 3.938 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.2978, allocations: 7.984 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.2978, allocations: 0 / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.298, allocations: 101.3 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.929e-05/0.298, allocations: 18.61 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.298, allocations: 12.78 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.2981, allocations: 4.062 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.2981, allocations: 30.56 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2981, allocations: 3.938 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001372/0.2982, allocations: 49.59 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.2983, allocations: 51.41 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.2984, allocations: 113.8 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2984, allocations: 29.7 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.2984, allocations: 88.12 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.2985, allocations: 0 / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.2985, allocations: 13.72 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2986, allocations: 310.8 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.2986, allocations: 4 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-06/0.2986, allocations: 4.125 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.2987, allocations: 24.78 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2987, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.4e-05/0.2987, allocations: 41.66 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2988, allocations: 4 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2988, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2988, allocations: 3.938 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.707e-05/0.2988, allocations: 8 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.2988, allocations: 0 / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.2988, allocations: 0 / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.2988, allocations: 32 / 1.286 GB, free: 8.883 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): 1 * 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 prepare postOptimizeDAE: time 7.948e-05/0.2989, allocations: 117.8 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.2989, allocations: 3.984 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.89e-05/0.299, allocations: 49.09 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.299, allocations: 3.938 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.299, allocations: 0 / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.299, allocations: 0 / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.822e-05/0.2991, allocations: 101.3 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2991, allocations: 4 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.2991, allocations: 3.984 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2991, allocations: 4.031 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.2991, allocations: 0 / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2991, allocations: 0 / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2991, allocations: 7.875 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.88e-05/0.2992, allocations: 69.03 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.2992, allocations: 3.984 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.2992, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-06/0.2993, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.2993, allocations: 7.938 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.2993, allocations: 0 / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.263e-05/0.2993, allocations: 91.27 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2993, allocations: 4.031 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001903/0.2995, allocations: 8 kB / 1.286 GB, free: 8.348 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 (1): * Single equations (assignments): 1 * 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.0001973/0.2997, allocations: 117.7 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.111e-05/0.2998, allocations: 7.984 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2998, allocations: 3.938 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-06/0.2998, allocations: 8.062 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.2999, allocations: 3.938 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.3002, allocations: 113.6 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.617e-05/0.3003, allocations: 63.34 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.847e-05/0.3003, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.3003, allocations: 7.438 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3003, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of Templates: time 0.002711/0.3031, allocations: 0.4947 MB / 1.287 GB, free: 7.488 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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: 8.733938414603472]