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.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.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.0009588/0.0009588, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.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.622/2.622, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 8 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.7275, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001811/0.7294, allocations: 1.094 MB / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000177/0.7296, allocations: 43.7 kB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.7296, allocations: 0 / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.7298, allocations: 15.98 kB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.73, allocations: 7.938 kB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.717e-06/0.73, allocations: 0 / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.895e-05/0.7301, allocations: 19.92 kB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.786e-05/0.7301, allocations: 4 kB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.7302, allocations: 7.938 kB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.7302, allocations: 7.984 kB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.7303, allocations: 4 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.453e-05/0.7303, allocations: 7.984 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.7304, allocations: 11.94 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.7304, allocations: 29.64 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.591e-05/0.7305, allocations: 23.97 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7305, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7306, allocations: 4 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.7306, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.7794 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.0003843/0.731, allocations: 331.2 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.731, allocations: 8.031 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.7311, allocations: 4.844 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.7313, allocations: 184.3 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.7313, allocations: 4.375 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.7313, allocations: 384 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.7314, allocations: 38.25 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.7314, allocations: 192 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.7315, allocations: 3.938 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.7315, allocations: 3.938 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.7315, allocations: 4 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.7317, allocations: 157.7 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/0.7318, allocations: 18.52 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.7318, allocations: 8.922 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.7318, allocations: 4 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.7318, allocations: 30.56 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.7318, allocations: 0 / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000155/0.732, allocations: 49.53 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.7321, allocations: 55.34 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.7322, allocations: 113.8 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.7322, allocations: 25.7 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.7323, allocations: 92.27 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.7323, allocations: 7.875 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.7323, allocations: 9.719 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.7324, allocations: 314.8 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.7325, allocations: 4 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.7325, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.891e-05/0.7325, allocations: 12.86 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7325, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.569e-05/0.7326, allocations: 49.59 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.7326, allocations: 4 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7326, allocations: 4.25 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7326, allocations: 0 / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.7327, allocations: 4 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.7327, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.7327, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.7327, allocations: 3.984 kB / 1.026 GB, free: 12.84 MB / 0.7794 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 9.019e-05/0.7328, allocations: 117.8 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.7329, allocations: 4.031 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.974e-05/0.733, allocations: 49.16 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.733, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.733, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.733, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.7331, allocations: 157.7 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.7331, allocations: 4 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.7331, allocations: 7.875 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.7332, allocations: 0 / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.7332, allocations: 3.938 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7332, allocations: 4.031 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7332, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.521e-05/0.7333, allocations: 61.12 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.7333, allocations: 85.02 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.7333, allocations: 3.938 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.7333, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.7334, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.7334, allocations: 8.031 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.7334, allocations: 95.27 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7334, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001885/0.7336, allocations: 4 kB / 1.027 GB, free: 12.14 MB / 0.7794 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.0002401/0.7339, allocations: 119 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.734, allocations: 15.92 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.734, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.347e-06/0.734, allocations: 4 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.7341, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.7344, allocations: 146.4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.7347, allocations: 0.677 MB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.7347, allocations: 11.56 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.7347, allocations: 3.938 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.002471/0.7372, allocations: 0.7496 MB / 1.029 GB, free: 10.36 MB / 0.7794 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