Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 67.89 kB / 1.057 GB, free: 2.074 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3665, allocations: 160.7 MB / 1.214 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003971/0.3705, allocations: 1.369 MB / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002204/0.3707, allocations: 43.81 kB / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.3708, allocations: 0 / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.371, allocations: 11.92 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3711, allocations: 19.88 kB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.3711, allocations: 0 / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.168e-05/0.3712, allocations: 19.97 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.3712, allocations: 4 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.3713, allocations: 11.88 kB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.3713, allocations: 11.92 kB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3714, allocations: 4 kB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.189e-05/0.3714, allocations: 8 kB / 1.216 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.3715, allocations: 4 kB / 1.216 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.3715, allocations: 3.938 kB / 1.216 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.3716, allocations: 35.83 kB / 1.216 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3716, allocations: 4 kB / 1.216 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3716, allocations: 3.938 kB / 1.216 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3716, allocations: 0 / 1.216 GB, free: 15.47 MB / 0.9669 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.0004519/0.3721, allocations: 343.2 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3721, allocations: 12.03 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.3722, allocations: 0.9375 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3724, allocations: 176.3 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/0.3724, allocations: 384 / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.3724, allocations: 384 / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.3725, allocations: 46.17 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3726, allocations: 192 / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3726, allocations: 3.938 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.3726, allocations: 4 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.3726, allocations: 0 / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.3728, allocations: 153.7 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.262e-05/0.3729, allocations: 26.59 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.3729, allocations: 8.859 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3729, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.373, allocations: 34.56 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.373, allocations: 4 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001701/0.3731, allocations: 41.62 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3732, allocations: 55.41 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3733, allocations: 113.8 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3733, allocations: 25.7 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.3734, allocations: 84.27 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.3734, allocations: 7.953 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3735, allocations: 13.72 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3736, allocations: 314.8 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.3736, allocations: 4 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.3736, allocations: 0 / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.3737, allocations: 16.8 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3737, allocations: 4.062 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.552e-05/0.3738, allocations: 37.69 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3738, allocations: 4 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3738, allocations: 3.938 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3738, allocations: 3.938 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.3739, allocations: 4 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3739, allocations: 0 / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.3739, allocations: 0 / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3739, allocations: 0 / 1.217 GB, free: 13.73 MB / 0.9669 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 0.0001016/0.374, allocations: 117.9 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.374, allocations: 3.953 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.3741, allocations: 57.03 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3741, allocations: 0 / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3742, allocations: 0 / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3742, allocations: 0 / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.3743, allocations: 157.7 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3743, allocations: 4 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/0.3743, allocations: 0 / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3743, allocations: 0 / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3743, allocations: 7.969 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3743, allocations: 4 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3743, allocations: 0 / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.461e-05/0.3744, allocations: 65.06 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.3745, allocations: 85.06 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3745, allocations: 3.938 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.3745, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.3745, allocations: 4.031 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.3745, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.197e-05/0.3746, allocations: 95.27 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3746, allocations: 0 / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001988/0.3748, allocations: 4 kB / 1.218 GB, free: 13.02 MB / 0.9669 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.0002715/0.3751, allocations: 123.6 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.3752, allocations: 11.98 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3752, allocations: 0 / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.371e-05/0.3752, allocations: 7.938 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.3754, allocations: 0 / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.3758, allocations: 147.1 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.3762, allocations: 0.6768 MB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.3762, allocations: 15.56 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of SimCode: time 8.42e-07/0.3762, allocations: 0 / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of Templates: time 0.002975/0.3792, allocations: 0.7664 MB / 1.219 GB, free: 11.23 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.26127332705073]