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.001218/0.001218, allocations: 109.6 kB / 16.41 MB, free: 6.477 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.001254/0.001254, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.16 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.391/2.391, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 63.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.0033/1.019, allocations: 1.365 MB / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002206/1.02, allocations: 46.34 kB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/1.02, allocations: 3.938 kB / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000206/1.02, allocations: 7.938 kB / 1.169 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00014/1.02, allocations: 19.91 kB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.789e-06/1.02, allocations: 0 / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.16e-05/1.02, allocations: 15.88 kB / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.965e-05/1.02, allocations: 7.984 kB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/1.02, allocations: 4 kB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/1.02, allocations: 11.94 kB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/1.02, allocations: 4 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.066e-05/1.021, allocations: 15.98 kB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/1.021, allocations: 7.984 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/1.021, allocations: 7.938 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/1.021, allocations: 27.91 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.021, allocations: 0 / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.724e-06/1.021, allocations: 0 / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.021, allocations: 3.938 kB / 1.169 GB, free: 2.332 MB / 0.8887 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.0004159/1.021, allocations: 335.2 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.021, allocations: 12.62 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/1.021, allocations: 4.938 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/1.022, allocations: 180.3 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/1.022, allocations: 384 / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/1.022, allocations: 4.375 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.662e-05/1.022, allocations: 30.2 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.022, allocations: 192 / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.022, allocations: 3.938 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/1.022, allocations: 4 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.455e-05/1.022, allocations: 3.984 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/1.022, allocations: 161.7 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.554e-05/1.022, allocations: 18.61 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/1.022, allocations: 4.859 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/1.022, allocations: 0 / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/1.022, allocations: 38.56 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/1.022, allocations: 0 / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001502/1.022, allocations: 45.64 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/1.022, allocations: 55.39 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/1.022, allocations: 113.8 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/1.022, allocations: 25.7 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/1.023, allocations: 84.14 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/1.023, allocations: 7.906 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/1.023, allocations: 9.719 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.023, allocations: 310.8 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/1.023, allocations: 12.11 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-05/1.023, allocations: 15.88 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/1.023, allocations: 8.859 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.023, allocations: 0 / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.456e-05/1.023, allocations: 33.7 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.023, allocations: 4 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.023, allocations: 7.938 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.023, allocations: 3.984 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/1.023, allocations: 8.078 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.023, allocations: 0 / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/1.023, allocations: 0 / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/1.023, allocations: 8 kB / 1.17 GB, free: 0.5859 MB / 0.8887 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.166e-05/1.023, allocations: 105.8 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/1.023, allocations: 11.84 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/1.023, allocations: 49.09 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.023, allocations: 0 / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/1.023, allocations: 0 / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.023, allocations: 8.031 kB / 1.17 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/1.023, allocations: 153.7 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.023, allocations: 0 / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/1.023, allocations: 0 / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.023, allocations: 0 / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/1.023, allocations: 7.922 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.023, allocations: 4 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.023, allocations: 0 / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.658e-05/1.024, allocations: 65.08 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/1.024, allocations: 81.02 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/1.024, allocations: 7.984 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.053e-05/1.024, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/1.024, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/1.024, allocations: 4 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.375e-05/1.024, allocations: 87.22 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.024, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000202/1.024, allocations: 7.984 kB / 1.171 GB, free: 15.9 MB / 0.9044 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.0002371/1.024, allocations: 123.6 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.679e-05/1.024, allocations: 4 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.024, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/1.024, allocations: 7.938 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/1.025, allocations: 3.984 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/1.025, allocations: 145.1 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/1.025, allocations: 0.6812 MB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/1.025, allocations: 7.438 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/1.025, allocations: 0 / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of Templates: time 0.002481/1.028, allocations: 0.7742 MB / 1.173 GB, free: 14.1 MB / 0.9044 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