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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001536/0.001536, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001428/0.001428, allocations: 195.1 kB / 16.26 MB, free: 6.621 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.852/2.852, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6754/0.6773, allocations: 151.6 MB / 1.017 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002617/0.68, allocations: 1.437 MB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.6801, allocations: 36.41 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.6802, allocations: 0 / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.6803, allocations: 15.92 kB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/0.6804, allocations: 7.938 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.426e-06/0.6805, allocations: 0 / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.179e-05/0.6805, allocations: 15.98 kB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.6806, allocations: 4 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.6806, allocations: 15.88 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.222e-05/0.6807, allocations: 3.984 kB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.6807, allocations: 8 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.655e-05/0.6807, allocations: 15.98 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.6808, allocations: 3.938 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.6808, allocations: 11.94 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.451e-05/0.6809, allocations: 31.89 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6809, allocations: 0 / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6809, allocations: 3.938 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.6809, allocations: 0 / 1.018 GB, free: 1.262 MB / 0.7637 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.0003598/0.6813, allocations: 333.5 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.6813, allocations: 16.03 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.6814, allocations: 4.938 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.6815, allocations: 168.4 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.6816, allocations: 384 / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.6816, allocations: 384 / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.863e-05/0.6817, allocations: 30.27 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6817, allocations: 192 / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.6817, allocations: 7.875 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.6817, allocations: 7.984 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.6817, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.6819, allocations: 161.6 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.682, allocations: 18.61 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.682, allocations: 4.859 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.682, allocations: 3.938 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.682, allocations: 34.62 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 2.855e-06/0.682, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.6822, allocations: 49.56 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.6822, allocations: 55.41 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.6823, allocations: 113.8 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.6824, allocations: 25.7 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.6824, allocations: 84.14 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.6825, allocations: 7.938 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.6825, allocations: 9.719 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6826, allocations: 315 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.6826, allocations: 12 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-06/0.6827, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.6827, allocations: 12.8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6827, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.366e-05/0.6828, allocations: 41.61 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.6828, allocations: 5.875 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6828, allocations: 3.938 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.6828, allocations: 3.984 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.19e-05/0.6829, allocations: 8.094 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.6829, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.216e-05/0.6829, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.6829, allocations: 0 / 1.02 GB, free: 15.53 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 7.456e-05/0.683, allocations: 109.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.683, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.645e-05/0.6831, allocations: 57.03 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.6831, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.6831, allocations: 4.031 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6831, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.6833, allocations: 157.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6833, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.6833, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.6833, allocations: 3.984 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.6833, allocations: 3.938 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6833, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6833, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.096e-05/0.6834, allocations: 80.92 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.6835, allocations: 77.11 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.6835, allocations: 7.922 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/0.6835, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.6835, allocations: 3.984 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.6835, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.919e-05/0.6836, allocations: 95.27 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6836, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001871/0.6838, allocations: 8 kB / 1.02 GB, free: 14.82 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.0001927/0.684, allocations: 112.4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.814e-05/0.6841, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6841, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.6841, allocations: 7.984 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.6842, allocations: 8.062 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.6845, allocations: 125.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.6848, allocations: 0.6806 MB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.07e-05/0.6849, allocations: 7.938 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.6849, allocations: 7.438 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6849, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.002658/0.6876, allocations: 490 kB / 1.022 GB, free: 13.34 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=400 -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/jenkins/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