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.000952/0.000952, allocations: 99.5 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.001078/0.001078, allocations: 181.1 kB / 16.92 MB, free: 6.895 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.746/2.746, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 12.25 kB / 0.9034 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3274, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001893/0.3293, allocations: 1.093 MB / 1.06 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001833/0.3296, allocations: 43.75 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.3296, allocations: 0 / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.3298, allocations: 12 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.3299, allocations: 15.86 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.33, allocations: 0 / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.347e-05/0.33, allocations: 11.94 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.159e-05/0.3301, allocations: 4 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.3301, allocations: 15.92 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.3302, allocations: 11.98 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3302, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.3303, allocations: 4 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.3303, allocations: 11.94 kB / 1.061 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.3304, allocations: 33.62 kB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.3305, allocations: 27.95 kB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3305, allocations: 0 / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3305, allocations: 0 / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3306, allocations: 0 / 1.061 GB, free: 3.652 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003984/0.331, allocations: 335.7 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.331, allocations: 15.97 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.3311, allocations: 8.844 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.3313, allocations: 172.4 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3313, allocations: 384 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.3313, allocations: 384 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.998e-05/0.3314, allocations: 30.27 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3314, allocations: 4.125 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3314, allocations: 3.938 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.3314, allocations: 0 / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.3315, allocations: 12 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.3317, allocations: 153.7 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.051e-05/0.3317, allocations: 18.52 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.3317, allocations: 12.91 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3318, allocations: 0 / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3318, allocations: 30.56 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3318, allocations: 0 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.332, allocations: 53.48 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.332, allocations: 51.41 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3321, allocations: 113.8 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3322, allocations: 25.7 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.3322, allocations: 92.12 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.3322, allocations: 0 / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.3323, allocations: 9.719 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3324, allocations: 311 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.3324, allocations: 8 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-06/0.3324, allocations: 0 / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.3325, allocations: 20.78 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3325, allocations: 0 / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.476e-05/0.3325, allocations: 41.55 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3326, allocations: 5.406 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3326, allocations: 3.938 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3326, allocations: 8 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.974e-05/0.3326, allocations: 4.094 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3327, allocations: 0 / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.3327, allocations: 0 / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.3327, allocations: 0 / 1.062 GB, free: 1.914 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.006e-05/0.3328, allocations: 117.8 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.3328, allocations: 0 / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.945e-05/0.3329, allocations: 45.17 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3329, allocations: 0 / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3329, allocations: 7.969 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3329, allocations: 4.031 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.333, allocations: 165.5 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.333, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.3331, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3331, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3331, allocations: 3.938 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3331, allocations: 0 / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3331, allocations: 4 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.301e-05/0.3332, allocations: 69.03 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.3332, allocations: 77.11 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3332, allocations: 3.938 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-06/0.3333, allocations: 0 / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.3333, allocations: 0 / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3333, allocations: 7.984 kB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.42e-05/0.3334, allocations: 87.28 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3334, allocations: 0 / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001944/0.3336, allocations: 8 kB / 1.063 GB, free: 1.223 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.00022/0.3338, allocations: 124.7 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.802e-05/0.3339, allocations: 4 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3339, allocations: 0 / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-06/0.3339, allocations: 4 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.334, allocations: 1.328 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.3343, allocations: 150.4 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.3346, allocations: 0.6809 MB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.3346, allocations: 7.438 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of SimCode: time 6.21e-07/0.3346, allocations: 0 / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of Templates: time 0.002282/0.3369, allocations: 0.7697 MB / 1.064 GB, free: 15.43 MB / 0.8262 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 -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