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.001747/0.001747, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002174/0.002174, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.604/1.604, 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 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.01/3.01, allocations: 476 MB / 0.7707 GB, free: 4.715 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: 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.002192/0.002192, allocations: 67.12 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3749, allocations: 170 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00309/0.378, allocations: 1.4 MB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002035/0.3782, allocations: 35.83 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.3783, allocations: 4 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.3784, allocations: 11.86 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.3786, allocations: 15.94 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.378e-06/0.3786, allocations: 4 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.54e-05/0.3787, allocations: 19.92 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.3787, allocations: 0 / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.3788, allocations: 11.98 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.3788, allocations: 11.92 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.3788, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.486e-05/0.3789, allocations: 12 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.3789, allocations: 7.875 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.379, allocations: 4 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3791, allocations: 35.83 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.3791, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3791, allocations: 7.938 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3791, allocations: 0 / 1.285 GB, free: 10.31 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.0004038/0.3795, allocations: 262.2 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3795, allocations: 8.031 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.3796, allocations: 8.891 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.3798, allocations: 114.5 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3798, allocations: 384 / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.3798, allocations: 384 / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.3799, allocations: 34.25 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3799, allocations: 192 / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3799, allocations: 11.94 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.3799, allocations: 4 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.38, allocations: 0 / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.3801, allocations: 109.2 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.3802, allocations: 22.61 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.3802, allocations: 4.859 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3802, allocations: 4.062 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.3803, allocations: 30.56 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 3.216e-06/0.3803, allocations: 3.984 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001733/0.3804, allocations: 49.53 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.3805, allocations: 59.52 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3806, allocations: 117.8 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3806, allocations: 25.7 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.3807, allocations: 84.14 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.3807, allocations: 3.984 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3807, allocations: 17.72 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3809, allocations: 310.8 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.3809, allocations: 0 / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.3809, allocations: 11.92 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.838e-05/0.3809, allocations: 12.92 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3809, allocations: 4 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.33e-05/0.381, allocations: 41.59 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.381, allocations: 4 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.381, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3811, allocations: 3.938 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.3811, allocations: 7.984 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3811, allocations: 0 / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.3811, allocations: 0 / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3811, allocations: 3.938 kB / 1.287 GB, free: 8.789 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 9.33e-05/0.3812, allocations: 117.9 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-06/0.3812, allocations: 0 / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.384e-05/0.3813, allocations: 41.16 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3813, allocations: 3.938 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3813, allocations: 3.938 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3813, allocations: 0 / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.872e-05/0.3814, allocations: 105.3 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.3814, allocations: 0 / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.3814, allocations: 4 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3815, allocations: 0 / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3815, allocations: 0 / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3815, allocations: 4.031 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3815, allocations: 3.938 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.571e-05/0.3816, allocations: 69.08 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.3816, allocations: 0 / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.3816, allocations: 0 / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.668e-05/0.3816, allocations: 4 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.3816, allocations: 7.938 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.3816, allocations: 0 / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.824e-05/0.3817, allocations: 95.27 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3817, allocations: 0 / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001933/0.3819, allocations: 8.031 kB / 1.287 GB, free: 8.266 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.0002512/0.3821, allocations: 118.3 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.338e-05/0.3822, allocations: 11.98 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3822, allocations: 0 / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.3823, allocations: 4 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3824, allocations: 8.062 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.3827, allocations: 135.3 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.564e-05/0.3828, allocations: 63.34 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.3828, allocations: 7.438 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3828, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of Templates: time 0.002681/0.3855, allocations: 0.7822 MB / 1.288 GB, free: 7.098 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/jenkins1/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: 12.316724692005664]