Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001466/0.001467, allocations: 110.1 kB / 16.37 MB, free: 6.012 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.001453/0.001453, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.183/1.183, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.195/2.195, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 72.02 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2569, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00281/0.2598, allocations: 1.484 MB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2616, allocations: 1.124 MB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.2617, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.2619, allocations: 15.86 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.2621, allocations: 39.78 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.2623, allocations: 59.03 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2626, allocations: 147.5 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.2628, allocations: 73.06 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.2629, allocations: 75.77 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.2631, allocations: 59.77 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.2631, allocations: 12 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.351e-05/0.2632, allocations: 24 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.505e-05/0.2633, allocations: 59.75 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.816e-05/0.2634, allocations: 71.58 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.2636, allocations: 199.4 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2636, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2636, allocations: 3.938 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5e-06/0.2636, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 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.0005981/0.2642, allocations: 499.8 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.2643, allocations: 12.03 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.2643, allocations: 16.75 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.2647, allocations: 255.9 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.2648, allocations: 115.4 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.2648, allocations: 8.375 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.2651, allocations: 157.7 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2652, allocations: 4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.2652, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.2652, allocations: 15.98 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/0.2653, allocations: 47.84 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.2663, allocations: 452.5 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.2664, allocations: 38.5 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.2665, allocations: 24.8 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.2665, allocations: 12.14 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2666, allocations: 38.55 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2666, allocations: 0 / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002288/0.2668, allocations: 101.7 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2669, allocations: 59.34 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.267, allocations: 227.7 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2671, allocations: 25.7 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.2671, allocations: 120 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.2672, allocations: 23.64 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.2672, allocations: 29.72 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2673, allocations: 330.8 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/0.2674, allocations: 31.92 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-05/0.2675, allocations: 98.28 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.2676, allocations: 142.1 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2676, allocations: 4 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002179/0.2679, allocations: 149.5 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2679, allocations: 11 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2679, allocations: 4 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2679, allocations: 4 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.268, allocations: 23.98 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.268, allocations: 15.94 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.2681, allocations: 15.83 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.2681, allocations: 4 kB / 1.033 GB, free: 11.23 MB / 0.8106 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 0.0001113/0.2682, allocations: 145.8 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.2683, allocations: 11.81 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.2685, allocations: 135 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2685, allocations: 0 / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2685, allocations: 3.938 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2685, allocations: 0 / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.2687, allocations: 229.6 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2687, allocations: 0 / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.2688, allocations: 12 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2688, allocations: 0 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2688, allocations: 4 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2688, allocations: 7.984 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2688, allocations: 7.938 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.269, allocations: 187.3 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.269, allocations: 88.92 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.2691, allocations: 7.938 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2693, allocations: 15.97 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.2693, allocations: 11.92 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.2693, allocations: 15.98 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001222/0.2695, allocations: 161.5 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2695, allocations: 0 / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002782/0.2698, allocations: 31.91 kB / 1.034 GB, free: 10.08 MB / 0.8106 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.0002092/0.27, allocations: 118.9 kB / 1.034 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.2701, allocations: 75.83 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2701, allocations: 4 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.2702, allocations: 27.92 kB / 1.034 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.2704, allocations: 19.92 kB / 1.034 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.2709, allocations: 279.9 kB / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.2712, allocations: 0.7392 MB / 1.035 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.867e-05/0.2713, allocations: 44.8 kB / 1.035 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.2713, allocations: 19.42 kB / 1.035 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2713, allocations: 0 / 1.035 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of Templates: time 0.004267/0.2756, allocations: 2.378 MB / 1.038 GB, free: 6.359 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches