Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.002029/0.002029, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 56.12 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.108, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003378/1.112, allocations: 1.487 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001805/1.114, allocations: 1.097 MB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/1.114, allocations: 8 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002304/1.114, allocations: 19.84 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/1.114, allocations: 39.78 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/1.114, allocations: 63.89 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/1.115, allocations: 143.5 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/1.115, allocations: 69.03 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/1.115, allocations: 87.69 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/1.115, allocations: 55.7 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/1.115, allocations: 12 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/1.115, allocations: 20 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/1.116, allocations: 55.81 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/1.116, allocations: 75.58 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/1.116, allocations: 203.2 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.116, allocations: 0 / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.215e-06/1.116, allocations: 0 / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.288e-06/1.116, allocations: 0 / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008415/1.117, allocations: 488.5 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.117, allocations: 8.031 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.591e-05/1.117, allocations: 20.75 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/1.117, allocations: 263.8 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/1.118, allocations: 115.4 kB / 1.213 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/1.118, allocations: 8.375 kB / 1.213 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/1.118, allocations: 163.8 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.118, allocations: 0 / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/1.118, allocations: 0 / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/1.118, allocations: 12 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.501e-05/1.118, allocations: 47.91 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/1.119, allocations: 456.3 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.946e-05/1.119, allocations: 42.5 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/1.119, allocations: 24.84 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/1.119, allocations: 8 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/1.12, allocations: 34.5 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/1.12, allocations: 0 / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0003036/1.12, allocations: 101.7 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.12, allocations: 51.41 kB / 1.214 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/1.12, allocations: 227.6 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/1.12, allocations: 33.7 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/1.12, allocations: 124.1 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/1.12, allocations: 23.64 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/1.12, allocations: 29.7 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.121, allocations: 326.8 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/1.121, allocations: 23.98 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/1.121, allocations: 102.3 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/1.121, allocations: 142.1 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.121, allocations: 8 kB / 1.215 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002626/1.121, allocations: 149.2 kB / 1.215 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.121, allocations: 11.94 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.121, allocations: 4 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/1.121, allocations: 4.375 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/1.121, allocations: 27.97 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.121, allocations: 7.938 kB / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.265e-05/1.122, allocations: 11.84 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/1.122, allocations: 11.98 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001427/1.122, allocations: 141.8 kB / 1.215 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-05/1.122, allocations: 15.81 kB / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/1.122, allocations: 115.1 kB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.122, allocations: 0 / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.122, allocations: 3.938 kB / 1.215 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/1.122, allocations: 96.86 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/1.122, allocations: 7.984 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/1.122, allocations: 15.98 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/1.122, allocations: 7.984 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001641/1.123, allocations: 156.9 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002435/1.123, allocations: 271 kB / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.285e-05/1.123, allocations: 28.03 kB / 1.216 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001518/1.123, allocations: 157.5 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of Backend: time 3.6e-07/1.123, allocations: 0 / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006772/1.124, allocations: 176.1 kB / 1.216 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007341/1.125, allocations: 0.7192 MB / 1.217 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of Templates: time 0.006309/1.131, allocations: 2.599 MB / 1.219 GB, free: 2.289 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches