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.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.001746/0.001746, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002173/0.002173, allocations: 201.1 kB / 22.17 MB, free: 5.211 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.505/1.505, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.88 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.901/0.9031, allocations: 168.7 MB / 1.274 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002991/0.906, allocations: 1.383 MB / 1.275 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.9062, allocations: 48.28 kB / 1.275 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.9063, allocations: 3.938 kB / 1.275 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.9064, allocations: 11.86 kB / 1.275 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.9066, allocations: 19.92 kB / 1.275 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.158e-06/0.9066, allocations: 0 / 1.275 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.282e-05/0.9066, allocations: 15.98 kB / 1.275 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.9067, allocations: 0 / 1.275 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.9067, allocations: 15.88 kB / 1.275 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.9068, allocations: 11.98 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.9068, allocations: 0 / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.069e-05/0.9068, allocations: 12 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.9069, allocations: 7.938 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.9069, allocations: 11.92 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.907, allocations: 30.58 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.907, allocations: 0 / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.907, allocations: 0 / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.907, allocations: 0 / 1.276 GB, free: 2.801 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.0004356/0.9075, allocations: 339.3 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.9075, allocations: 12.03 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.9075, allocations: 4.938 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.9078, allocations: 176.3 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.9078, allocations: 4.359 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.9078, allocations: 384 / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.9079, allocations: 38.19 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.9079, allocations: 192 / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.9079, allocations: 3.938 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.9079, allocations: 0 / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.908, allocations: 12 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.9083, allocations: 153.7 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.9083, allocations: 14.58 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.9083, allocations: 8.922 kB / 1.276 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.9084, allocations: 0 / 1.276 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.9084, allocations: 34.5 kB / 1.276 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.9084, allocations: 3.938 kB / 1.276 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001332/0.9085, allocations: 49.62 kB / 1.276 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.9086, allocations: 51.41 kB / 1.276 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.9087, allocations: 113.8 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.9087, allocations: 25.7 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.9088, allocations: 88.14 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.9088, allocations: 3.953 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.9088, allocations: 9.719 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.909, allocations: 326.9 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.909, allocations: 4 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.909, allocations: 4 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.909, allocations: 12.8 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.909, allocations: 0 / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.638e-05/0.9091, allocations: 37.69 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.9091, allocations: 8 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.9091, allocations: 3.938 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.9091, allocations: 96 / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.9092, allocations: 4 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9092, allocations: 4 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.9092, allocations: 0 / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.9092, allocations: 0 / 1.277 GB, free: 1.055 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 8.174e-05/0.9093, allocations: 105.8 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.9093, allocations: 7.953 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.9094, allocations: 53.09 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.9094, allocations: 0 / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.9094, allocations: 4.031 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.9094, allocations: 0 / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.9095, allocations: 157.7 kB / 1.277 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9095, allocations: 0 / 1.277 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.9095, allocations: 4 kB / 1.277 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.9095, allocations: 0 / 1.277 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.9095, allocations: 3.938 kB / 1.277 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9095, allocations: 0 / 1.277 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9095, allocations: 0 / 1.277 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.9097, allocations: 69.06 kB / 1.277 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.9097, allocations: 85.06 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.9097, allocations: 7.875 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.9098, allocations: 4 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.9098, allocations: 0 / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.9098, allocations: 3.984 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001217/0.9099, allocations: 95.58 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.9099, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001903/0.9101, allocations: 7.938 kB / 1.278 GB, free: 364 kB / 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.0002339/0.9103, allocations: 127.4 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.409e-05/0.9104, allocations: 11.98 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9104, allocations: 0 / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.9104, allocations: 3.938 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.9106, allocations: 14.7 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.9109, allocations: 121.4 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.9114, allocations: 0.6768 MB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.374e-05/0.9115, allocations: 4 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.9115, allocations: 7.438 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.9115, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of Templates: time 0.003239/0.9147, allocations: 0.494 MB / 1.279 GB, free: 14.85 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 -s cvode -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_2/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.955666373018175]