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.001591/0.001591, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.001668/0.001668, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.557/1.557, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 71.89 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003555/1.113, allocations: 1.374 MB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002017/1.113, allocations: 35.89 kB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/1.113, allocations: 3.938 kB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002039/1.113, allocations: 11.92 kB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/1.113, allocations: 11.92 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.039e-06/1.113, allocations: 4 kB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.087e-05/1.113, allocations: 19.86 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/1.113, allocations: 4 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.021e-05/1.113, allocations: 15.98 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/1.114, allocations: 3.938 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/1.114, allocations: 4 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.523e-05/1.114, allocations: 19.98 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/1.114, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/1.114, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/1.114, allocations: 35.89 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.114, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.878e-06/1.114, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.776e-06/1.114, allocations: 3.938 kB / 1.21 GB, free: 12.08 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004585/1.114, allocations: 335.3 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.114, allocations: 8.031 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/1.114, allocations: 4.938 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/1.115, allocations: 176.3 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/1.115, allocations: 384 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/1.115, allocations: 384 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/1.115, allocations: 34.2 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/1.115, allocations: 192 / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/1.115, allocations: 3.938 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/1.115, allocations: 11.92 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.631e-05/1.115, allocations: 4 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/1.115, allocations: 161.7 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.17e-05/1.115, allocations: 18.58 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/1.115, allocations: 4.859 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/1.115, allocations: 3.938 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/1.115, allocations: 34.56 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/1.115, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001658/1.116, allocations: 45.69 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/1.116, allocations: 51.41 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/1.116, allocations: 121.8 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/1.116, allocations: 25.7 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/1.116, allocations: 88.12 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/1.116, allocations: 3.906 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/1.116, allocations: 17.84 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.116, allocations: 318.8 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/1.116, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-06/1.116, allocations: 11.94 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/1.116, allocations: 8.859 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.116, allocations: 0 / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.814e-05/1.116, allocations: 33.7 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.116, allocations: 4 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.116, allocations: 4.094 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.116, allocations: 7.922 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/1.116, allocations: 4 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/1.116, allocations: 0 / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/1.116, allocations: 4 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/1.116, allocations: 0 / 1.211 GB, free: 10.34 MB / 0.9356 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.713e-05/1.116, allocations: 113.8 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/1.116, allocations: 3.906 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/1.117, allocations: 53.16 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.117, allocations: 0 / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.117, allocations: 0 / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/1.117, allocations: 77.11 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/1.117, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/1.117, allocations: 4 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/1.117, allocations: 3.984 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.522e-05/1.117, allocations: 120.8 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001462/1.117, allocations: 214.7 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.344e-05/1.117, allocations: 8 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.822e-05/1.117, allocations: 87.28 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of Backend: time 6.51e-07/1.117, allocations: 0 / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005091/1.118, allocations: 105.6 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004592/1.118, allocations: 0.557 MB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of Templates: time 0.003028/1.121, allocations: 0.5361 MB / 1.213 GB, free: 8.363 MB / 0.9356 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