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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437.1 MB / 0.711 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 65.41 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3649, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003514/0.3684, allocations: 1.376 MB / 1.019 GB, free: 9.223 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002058/0.3687, allocations: 39.81 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.3687, allocations: 0 / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.369, allocations: 15.94 kB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.3691, allocations: 15.92 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.283e-06/0.3691, allocations: 0 / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.324e-05/0.3692, allocations: 15.94 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.377e-05/0.3693, allocations: 7.969 kB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.626e-05/0.3693, allocations: 11.94 kB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.3694, allocations: 7.938 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.3694, allocations: 0 / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.163e-05/0.3695, allocations: 12 kB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.3695, allocations: 7.922 kB / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.3696, allocations: 11.94 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.3697, allocations: 31.89 kB / 1.019 GB, free: 9.047 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3697, allocations: 0 / 1.019 GB, free: 9.047 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3697, allocations: 4 kB / 1.019 GB, free: 9.043 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3697, allocations: 0 / 1.019 GB, free: 9.043 MB / 0.795 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.0004592/0.3702, allocations: 343.6 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3703, allocations: 8.922 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.3703, allocations: 0.9375 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3705, allocations: 176.3 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3705, allocations: 384 / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.3706, allocations: 4.375 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.335e-05/0.3707, allocations: 26.27 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3707, allocations: 4.188 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3707, allocations: 7.922 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.3707, allocations: 4 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.3708, allocations: 7.922 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.371, allocations: 149.7 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.989e-05/0.371, allocations: 22.59 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.3711, allocations: 8.859 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.3711, allocations: 4.062 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3711, allocations: 34.5 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3711, allocations: 7.938 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001625/0.3713, allocations: 41.58 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3714, allocations: 51.41 kB / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.3715, allocations: 117.8 kB / 1.02 GB, free: 7.852 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3715, allocations: 25.7 kB / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.3716, allocations: 88.14 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.3716, allocations: 3.906 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.3717, allocations: 9.719 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3718, allocations: 323 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.3719, allocations: 0 / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.3719, allocations: 3.984 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.3719, allocations: 16.8 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3719, allocations: 0 / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.419e-05/0.372, allocations: 33.7 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.372, allocations: 8 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.372, allocations: 4.031 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3721, allocations: 4 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.3721, allocations: 7.984 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3721, allocations: 3.984 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.337e-05/0.3722, allocations: 0 / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3722, allocations: 4 kB / 1.021 GB, free: 7.293 MB / 0.795 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.102e-05/0.3723, allocations: 106.5 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.3723, allocations: 8 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.3724, allocations: 45.09 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3724, allocations: 4.031 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3724, allocations: 4 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3724, allocations: 0 / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.3726, allocations: 157.6 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3726, allocations: 0 / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.3726, allocations: 0 / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3726, allocations: 0 / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3726, allocations: 7.938 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3726, allocations: 0 / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3726, allocations: 0 / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.998e-05/0.3727, allocations: 65.12 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.3728, allocations: 84.98 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.3728, allocations: 3.938 kB / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-06/0.3728, allocations: 3.938 kB / 1.021 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.3728, allocations: 3.984 kB / 1.021 GB, free: 6.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.3729, allocations: 4 kB / 1.021 GB, free: 6.703 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.098e-05/0.3729, allocations: 91.28 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3729, allocations: 4.031 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001983/0.3731, allocations: 4 kB / 1.022 GB, free: 6.605 MB / 0.795 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.0002486/0.3734, allocations: 110.8 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.342e-05/0.3735, allocations: 4 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3735, allocations: 0 / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.411e-05/0.3735, allocations: 12.06 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3737, allocations: 1.719 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.374, allocations: 157.1 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3743, allocations: 0.6768 MB / 1.022 GB, free: 5.586 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.3744, allocations: 11.42 kB / 1.022 GB, free: 5.574 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3744, allocations: 0 / 1.022 GB, free: 5.574 MB / 0.795 GB Notification: Performance of Templates: time 0.00245/0.3768, allocations: 0.7704 MB / 1.023 GB, free: 4.805 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches