Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_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_latest_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.001336/0.001336, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001418/0.001418, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.47/2.47, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 75.69 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.277, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002987/0.28, allocations: 1.379 MB / 1.028 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.2802, allocations: 35.83 kB / 1.028 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.2803, allocations: 0 / 1.028 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.2805, allocations: 7.922 kB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.2806, allocations: 19.92 kB / 1.028 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.418e-06/0.2806, allocations: 0 / 1.028 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.947e-05/0.2807, allocations: 19.92 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.2807, allocations: 4 kB / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.2808, allocations: 11.94 kB / 1.028 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.2808, allocations: 7.984 kB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.2809, allocations: 7.938 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.733e-05/0.2809, allocations: 11.98 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.281, allocations: 7.938 kB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.281, allocations: 7.938 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.2811, allocations: 35.89 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2811, allocations: 0 / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2811, allocations: 0 / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2811, allocations: 0 / 1.028 GB, free: 0.543 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.0003209/0.2814, allocations: 335.4 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2815, allocations: 8.031 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.2815, allocations: 12.92 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.2817, allocations: 176.2 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.2817, allocations: 384 / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.2817, allocations: 384 / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.322e-05/0.2818, allocations: 30.27 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.2819, allocations: 192 / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2819, allocations: 3.938 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.2819, allocations: 7.984 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.452e-05/0.2819, allocations: 8 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.2821, allocations: 161.6 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.055e-05/0.2821, allocations: 22.52 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.2821, allocations: 4.859 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2822, allocations: 0 / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.2822, allocations: 30.56 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2822, allocations: 4 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.2823, allocations: 45.69 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.2824, allocations: 55.34 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2825, allocations: 117.8 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2825, allocations: 25.7 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.2826, allocations: 84.14 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.2826, allocations: 7.891 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.2826, allocations: 13.84 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2828, allocations: 318.8 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.2828, allocations: 8 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-06/0.2828, allocations: 0 / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.2828, allocations: 8.859 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2828, allocations: 0 / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.627e-05/0.2829, allocations: 37.7 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2829, allocations: 7.938 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2829, allocations: 8.031 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2829, allocations: 3.984 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.283, allocations: 4 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.283, allocations: 0 / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.283, allocations: 0 / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.283, allocations: 3.938 kB / 1.03 GB, free: 14.79 MB / 0.8106 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.432e-05/0.2831, allocations: 113.8 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.2832, allocations: 3.906 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.517e-05/0.2833, allocations: 49.16 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2833, allocations: 4.031 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2833, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2833, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.2834, allocations: 153.7 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2834, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.2834, allocations: 4 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.2834, allocations: 7.922 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2834, allocations: 7.875 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2835, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2835, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.478e-05/0.2835, allocations: 61.14 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.2836, allocations: 81.11 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2836, allocations: 7.922 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.2836, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.2836, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.2837, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.061e-05/0.2837, allocations: 95.27 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2837, allocations: 4.031 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001904/0.2839, allocations: 8 kB / 1.03 GB, free: 14.1 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 (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.0002321/0.2842, allocations: 107.5 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.889e-05/0.2843, allocations: 7.938 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2843, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.2843, allocations: 12.05 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.2844, allocations: 9.656 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.2847, allocations: 117.5 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.285, allocations: 0.6768 MB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.22e-05/0.285, allocations: 4 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.2851, allocations: 7.438 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.2851, allocations: 0 / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.002519/0.2876, allocations: 0.4895 MB / 1.032 GB, free: 12.61 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches