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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001451/0.001451, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001565/0.001565, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.7 MB / 0.746 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 59.91 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166/1.167, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00324/1.171, allocations: 1.367 MB / 1.228 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001888/1.171, allocations: 43.83 kB / 1.228 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/1.171, allocations: 3.938 kB / 1.228 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/1.171, allocations: 11.92 kB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/1.171, allocations: 23.86 kB / 1.228 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.829e-06/1.171, allocations: 0 / 1.228 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/1.171, allocations: 12 kB / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/1.171, allocations: 3.984 kB / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/1.171, allocations: 15.88 kB / 1.228 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/1.171, allocations: 7.984 kB / 1.228 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/1.171, allocations: 0 / 1.228 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/1.172, allocations: 19.94 kB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/1.172, allocations: 7.922 kB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/1.172, allocations: 11.94 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/1.172, allocations: 28.89 kB / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.172, allocations: 3.984 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.522e-06/1.172, allocations: 0 / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.07e-06/1.172, allocations: 0 / 1.228 GB, free: 11.91 MB / 0.9512 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.000434/1.172, allocations: 338.9 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.172, allocations: 8.031 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/1.172, allocations: 0.9375 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/1.173, allocations: 176.3 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/1.173, allocations: 4.375 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/1.173, allocations: 384 / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.971e-05/1.173, allocations: 34.27 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.173, allocations: 4.125 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.173, allocations: 3.938 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/1.173, allocations: 0 / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.304e-05/1.173, allocations: 0 / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/1.173, allocations: 157.7 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/1.173, allocations: 26.58 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/1.173, allocations: 4.859 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/1.173, allocations: 4.062 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/1.173, allocations: 38.5 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/1.173, allocations: 0 / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001659/1.173, allocations: 37.64 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/1.173, allocations: 59.47 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/1.174, allocations: 113.8 kB / 1.229 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/1.174, allocations: 25.7 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/1.174, allocations: 92.12 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/1.174, allocations: 3.953 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/1.174, allocations: 9.719 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.174, allocations: 318.8 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/1.174, allocations: 0 / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-06/1.174, allocations: 4 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/1.174, allocations: 16.78 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.174, allocations: 0 / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.757e-05/1.174, allocations: 37.7 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.174, allocations: 8 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.174, allocations: 4 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.174, allocations: 3.938 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/1.174, allocations: 0 / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/1.174, allocations: 4.094 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/1.174, allocations: 7.922 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/1.174, allocations: 4 kB / 1.229 GB, free: 10.17 MB / 0.9512 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.495e-05/1.174, allocations: 109.8 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/1.174, allocations: 7.953 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/1.174, allocations: 53.03 kB / 1.229 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.174, allocations: 0 / 1.229 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.174, allocations: 4 kB / 1.229 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/1.175, allocations: 77.11 kB / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/1.175, allocations: 4.031 kB / 1.23 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/1.175, allocations: 0 / 1.23 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/1.175, allocations: 0 / 1.23 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.881e-05/1.175, allocations: 117 kB / 1.23 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001442/1.175, allocations: 214.7 kB / 1.23 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.061e-05/1.175, allocations: 4.062 kB / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.197e-05/1.175, allocations: 91.27 kB / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of Backend: time 5.91e-07/1.175, allocations: 0 / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005115/1.175, allocations: 103.4 kB / 1.23 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004737/1.176, allocations: 0.5609 MB / 1.231 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.002961/1.179, allocations: 0.5331 MB / 1.231 GB, free: 8.203 MB / 0.9512 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