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.006213/0.006213, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001439/0.001439, allocations: 195.5 kB / 16.79 MB, free: 6.254 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: 222.9 MB / 240.5 MB, free: 4.418 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.599/2.599, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.89 kB / 0.8692 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6741/0.6756, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002926/0.6786, allocations: 1.441 MB / 1.019 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001744/0.6788, allocations: 35.83 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.6788, allocations: 0 / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.679, allocations: 7.984 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.6791, allocations: 11.94 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.416e-06/0.6792, allocations: 0 / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.697e-05/0.6792, allocations: 19.92 kB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.6793, allocations: 4 kB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.6793, allocations: 3.938 kB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.6794, allocations: 19.91 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.6794, allocations: 4 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.463e-05/0.6795, allocations: 8 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.6795, allocations: 0 / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.6795, allocations: 11.94 kB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.961e-05/0.6796, allocations: 23.97 kB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6796, allocations: 0 / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6797, allocations: 0 / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.6797, allocations: 0 / 1.019 GB, free: 1.156 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.0003836/0.68, allocations: 341.4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.6801, allocations: 8.031 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.6801, allocations: 12.94 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.6803, allocations: 172.3 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-06/0.6803, allocations: 384 / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.6804, allocations: 384 / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.6805, allocations: 42.19 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.6805, allocations: 192 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.6805, allocations: 3.938 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.6805, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.6805, allocations: 4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.6807, allocations: 161.6 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.071e-05/0.6808, allocations: 14.58 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.6808, allocations: 12.86 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.6808, allocations: 0 / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.6808, allocations: 34.56 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.6808, allocations: 0 / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.681, allocations: 45.62 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.681, allocations: 51.41 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.6812, allocations: 117.8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.6812, allocations: 25.7 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.6812, allocations: 88.08 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.6813, allocations: 3.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.6813, allocations: 17.7 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6814, allocations: 318.8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.6814, allocations: 4.125 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-06/0.6814, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.6815, allocations: 8.859 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6815, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.52e-05/0.6815, allocations: 45.59 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.6816, allocations: 4 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6816, allocations: 3.938 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.6816, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.6816, allocations: 8.094 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.6817, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.6817, allocations: 3.938 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.6817, allocations: 0 / 1.02 GB, free: 15.41 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 8.311e-05/0.6818, allocations: 117.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.6818, allocations: 3.938 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.834e-05/0.6819, allocations: 49.16 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6819, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6819, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.6819, allocations: 4.031 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.682, allocations: 157.7 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6821, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.6821, allocations: 7.984 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6821, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.6821, allocations: 3.938 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6821, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6821, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.088e-05/0.6822, allocations: 76.97 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.6822, allocations: 77.11 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.6823, allocations: 7.938 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.6823, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.6823, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.6823, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.624e-05/0.6824, allocations: 95.27 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6824, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000223/0.6826, allocations: 7.938 kB / 1.021 GB, free: 14.71 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.0002168/0.6828, allocations: 115.2 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.082e-05/0.6829, allocations: 7.984 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6829, allocations: 3.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-06/0.6829, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.6831, allocations: 8 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.6834, allocations: 149.1 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.6836, allocations: 0.677 MB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.6837, allocations: 7.438 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6837, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.002153/0.6858, allocations: 0.7638 MB / 1.023 GB, free: 12.91 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