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.001468/0.001468, allocations: 109.2 kB / 16.36 MB, free: 6.336 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.001639/0.001639, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.378/1.378, 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 11.0.0-master/package.mo): time 2.424/2.424, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001397, allocations: 68.12 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.284, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002637/0.2866, allocations: 1.498 MB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.288, allocations: 1.117 MB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.288, allocations: 3.938 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.2882, allocations: 15.86 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.2884, allocations: 39.78 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.2886, allocations: 63.64 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.2888, allocations: 151.5 kB / 1.03 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2889, allocations: 61.09 kB / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.821e-05/0.289, allocations: 83.75 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.2892, allocations: 51.7 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.2892, allocations: 12 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.02e-05/0.2893, allocations: 35.92 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.2894, allocations: 47.83 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.467e-05/0.2895, allocations: 75.56 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.2897, allocations: 207.3 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2897, allocations: 0 / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2897, allocations: 0 / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2897, allocations: 0 / 1.03 GB, free: 14.64 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.000643/0.2904, allocations: 494.6 kB / 1.031 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2904, allocations: 12.03 kB / 1.031 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.2905, allocations: 16.75 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.2908, allocations: 259.8 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.291, allocations: 119.4 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.291, allocations: 8.375 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.2913, allocations: 160.6 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.2913, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.2914, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.2914, allocations: 8 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.2915, allocations: 47.91 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009714/0.2925, allocations: 460.4 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.797e-05/0.2925, allocations: 34.56 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.2926, allocations: 28.78 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.2926, allocations: 8 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.2926, allocations: 34.56 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.2927, allocations: 4 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002632/0.2929, allocations: 105.6 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.293, allocations: 51.41 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.2932, allocations: 223.7 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.2932, allocations: 29.7 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.2933, allocations: 120 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2933, allocations: 27.66 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.2934, allocations: 33.7 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.2935, allocations: 326.8 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.2935, allocations: 27.92 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.363e-05/0.2936, allocations: 98.28 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.2938, allocations: 138.1 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2938, allocations: 4 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002213/0.294, allocations: 157.1 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.294, allocations: 7.125 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2941, allocations: 7.984 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2941, allocations: 4 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.335e-05/0.2942, allocations: 27.94 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2942, allocations: 15.86 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.2943, allocations: 16.22 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.2943, allocations: 4 kB / 1.033 GB, free: 11.27 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.0001094/0.2944, allocations: 145.8 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.2945, allocations: 15.8 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.2947, allocations: 119.1 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.2947, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2947, allocations: 3.938 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2947, allocations: 3.984 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.2949, allocations: 225.6 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2949, allocations: 4 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.295, allocations: 19.98 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.295, allocations: 0 / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.295, allocations: 8 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.295, allocations: 0 / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.295, allocations: 3.938 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.2952, allocations: 187.7 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.2952, allocations: 88.92 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.2953, allocations: 15.98 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.2955, allocations: 11.98 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.2955, allocations: 11.92 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.2956, allocations: 15.92 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001911/0.2958, allocations: 161.5 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2958, allocations: 0 / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003028/0.2961, allocations: 31.91 kB / 1.034 GB, free: 10.12 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.0002177/0.2963, allocations: 122 kB / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.2965, allocations: 67.84 kB / 1.034 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2965, allocations: 4.688 kB / 1.034 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.22e-05/0.2965, allocations: 31.92 kB / 1.034 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.2968, allocations: 20 kB / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.2973, allocations: 279.1 kB / 1.035 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.2977, allocations: 0.7353 MB / 1.035 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.2978, allocations: 52.72 kB / 1.035 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.2978, allocations: 23.44 kB / 1.035 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.2978, allocations: 0 / 1.035 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of Templates: time 0.0054/0.3032, allocations: 2.371 MB / 1.038 GB, free: 6.398 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 gbode -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