Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001183/0.001184, allocations: 191 kB / 17.29 MB, free: 5.516 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.184/1.184, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.215/2.215, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 60.91 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2648, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002514/0.2673, allocations: 1.489 MB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2687, allocations: 1.114 MB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.972e-05/0.2687, allocations: 0 / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.2689, allocations: 19.84 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.2691, allocations: 39.8 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.2693, allocations: 57.97 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.2695, allocations: 151.5 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.2697, allocations: 65.06 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.2698, allocations: 79.77 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.2699, allocations: 63.69 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.27, allocations: 15.94 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.27, allocations: 24 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.2701, allocations: 55.81 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.733e-05/0.2702, allocations: 75.52 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.2704, allocations: 199.4 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2705, allocations: 0 / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2705, allocations: 0 / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.2705, allocations: 0 / 1.022 GB, free: 6.43 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006269/0.2711, allocations: 498.7 kB / 1.023 GB, free: 5.895 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2711, allocations: 8.031 kB / 1.023 GB, free: 5.887 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/0.2712, allocations: 16.75 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.2715, allocations: 261.4 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.2717, allocations: 115.4 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.2717, allocations: 8.375 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.272, allocations: 161.7 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.272, allocations: 0 / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.272, allocations: 7.938 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.2721, allocations: 16 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.2722, allocations: 47.84 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000939/0.2731, allocations: 452.5 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.458e-05/0.2732, allocations: 38.5 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.2732, allocations: 28.84 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.2733, allocations: 4 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.2733, allocations: 34.56 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.2733, allocations: 0 / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0002325/0.2735, allocations: 101.6 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.2736, allocations: 55.41 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.2738, allocations: 227.7 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.2738, allocations: 33.7 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.2739, allocations: 119.9 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2739, allocations: 27.64 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.2739, allocations: 25.72 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.274, allocations: 330.8 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.43e-05/0.2741, allocations: 23.98 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/0.2742, allocations: 102.3 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2743, allocations: 142.1 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2743, allocations: 0 / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002053/0.2745, allocations: 153.2 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2746, allocations: 8.375 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2746, allocations: 8 kB / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2746, allocations: 7.938 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.2747, allocations: 19.98 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2747, allocations: 15.81 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.2748, allocations: 11.84 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.2748, allocations: 8 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.639e-05/0.2749, allocations: 142.5 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.2749, allocations: 15.81 kB / 1.025 GB, free: 2.891 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.2751, allocations: 114.9 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2751, allocations: 4 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2752, allocations: 7.938 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2752, allocations: 0 / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.2754, allocations: 233.5 kB / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2754, allocations: 0 / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.2754, allocations: 12 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2754, allocations: 0 / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.2755, allocations: 3.984 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2755, allocations: 0 / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2755, allocations: 7.938 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.2757, allocations: 191.7 kB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.2757, allocations: 92.92 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.2757, allocations: 3.984 kB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.276, allocations: 19.97 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.276, allocations: 15.88 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.276, allocations: 11.98 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001213/0.2761, allocations: 160.2 kB / 1.026 GB, free: 1.945 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2762, allocations: 0 / 1.026 GB, free: 1.945 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002878/0.2764, allocations: 31.98 kB / 1.026 GB, free: 1.914 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 (8): * Single equations (assignments): 8 * 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.0002143/0.2767, allocations: 127.4 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.2768, allocations: 75.83 kB / 1.026 GB, free: 1.711 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2768, allocations: 0 / 1.026 GB, free: 1.711 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/0.2769, allocations: 27.92 kB / 1.026 GB, free: 1.684 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.2771, allocations: 17.58 kB / 1.026 GB, free: 1.668 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.2776, allocations: 287.8 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.2778, allocations: 0.743 MB / 1.027 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.278, allocations: 52.73 kB / 1.027 GB, free: 0.543 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.278, allocations: 19.42 kB / 1.027 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.278, allocations: 0 / 1.027 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of Templates: time 0.0045/0.2825, allocations: 2.37 MB / 1.03 GB, free: 14.18 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches