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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00144/0.00144, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001612/0.001612, allocations: 190.6 kB / 16.14 MB, free: 6.699 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.766/2.766, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 66.28 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4092, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002929/0.4122, allocations: 1.431 MB / 1.053 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001582/0.4124, allocations: 39.81 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.4124, allocations: 4 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.4126, allocations: 11.94 kB / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.4127, allocations: 11.92 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.916e-06/0.4127, allocations: 0 / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.4128, allocations: 12 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.4128, allocations: 7.938 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.4129, allocations: 11.92 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.413, allocations: 7.984 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.413, allocations: 0 / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.554e-05/0.413, allocations: 8 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.4131, allocations: 11.94 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.4131, allocations: 11.92 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.466e-05/0.4132, allocations: 27.91 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4132, allocations: 4 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4132, allocations: 0 / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.4132, allocations: 0 / 1.054 GB, free: 7.223 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.000337/0.4136, allocations: 339.6 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4136, allocations: 12.02 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.4137, allocations: 0.9375 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.4138, allocations: 180.3 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.4139, allocations: 4.375 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.4139, allocations: 4.359 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.743e-05/0.414, allocations: 34.2 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.414, allocations: 192 / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.414, allocations: 3.938 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.414, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.4141, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.4142, allocations: 157.6 kB / 1.054 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.4143, allocations: 26.61 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.4143, allocations: 8.906 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.4143, allocations: 4 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.4143, allocations: 34.5 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4144, allocations: 3.938 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001384/0.4145, allocations: 37.64 kB / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.4145, allocations: 59.53 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.4146, allocations: 109.8 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.4147, allocations: 29.7 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.4147, allocations: 88.12 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.4147, allocations: 3.906 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.4148, allocations: 13.72 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4149, allocations: 314.8 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.4149, allocations: 0 / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.4149, allocations: 4 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.415, allocations: 20.78 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.415, allocations: 0 / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.85e-05/0.415, allocations: 33.7 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4151, allocations: 8 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4151, allocations: 3.938 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4151, allocations: 0 / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/0.4151, allocations: 0 / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4152, allocations: 320 / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.4152, allocations: 4.094 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.4152, allocations: 4 kB / 1.055 GB, free: 5.48 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 7.86e-05/0.4153, allocations: 113.8 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.4153, allocations: 8 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.766e-05/0.4154, allocations: 45.09 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4154, allocations: 0 / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4154, allocations: 4 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.4154, allocations: 0 / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.4155, allocations: 165.6 kB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4155, allocations: 0 / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.4155, allocations: 0 / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4156, allocations: 0 / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4156, allocations: 7.938 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4156, allocations: 3.938 kB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4156, allocations: 0 / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7e-05/0.4156, allocations: 65.06 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.4157, allocations: 81.14 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.4157, allocations: 7.875 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.4157, allocations: 4 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.4158, allocations: 4 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.4158, allocations: 0 / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.547e-05/0.4158, allocations: 95.25 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4158, allocations: 0 / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001934/0.416, allocations: 4 kB / 1.056 GB, free: 4.781 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.0002013/0.4162, allocations: 113 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.777e-05/0.4163, allocations: 8 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4163, allocations: 0 / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/0.4163, allocations: 7.938 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.4165, allocations: 0 / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.4167, allocations: 127.3 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.417, allocations: 0.6809 MB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.442e-05/0.4171, allocations: 7.984 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.4171, allocations: 7.438 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of SimCode: time 3.5e-07/0.4171, allocations: 3.938 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of Templates: time 0.002432/0.4196, allocations: 496.3 kB / 1.057 GB, free: 3.293 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 -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/jenkins/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