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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001785/0.001785, allocations: 116.6 kB / 16.42 MB, free: 6.504 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.001955/0.001955, allocations: 186.5 kB / 17.35 MB, free: 5.758 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.468/1.468, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 59.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.152, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003623/1.156, allocations: 1.363 MB / 1.169 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002295/1.156, allocations: 50.28 kB / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/1.156, allocations: 0 / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/1.156, allocations: 7.938 kB / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/1.157, allocations: 19.91 kB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.91e-06/1.157, allocations: 0 / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.224e-05/1.157, allocations: 19.88 kB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.069e-05/1.157, allocations: 3.984 kB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/1.157, allocations: 8 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/1.157, allocations: 7.938 kB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/1.157, allocations: 0 / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-05/1.157, allocations: 23.98 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/1.157, allocations: 7.922 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/1.157, allocations: 7.938 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/1.157, allocations: 35.42 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.157, allocations: 0 / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.807e-06/1.157, allocations: 3.938 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.451e-06/1.157, allocations: 3.938 kB / 1.169 GB, free: 2.281 MB / 0.8887 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.0004363/1.158, allocations: 332.3 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/1.158, allocations: 8.922 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/1.158, allocations: 4.938 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/1.158, allocations: 180.3 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/1.158, allocations: 4.375 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/1.158, allocations: 384 / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/1.158, allocations: 26.27 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.158, allocations: 4.188 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.158, allocations: 7.938 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/1.158, allocations: 3.984 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/1.158, allocations: 4 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/1.159, allocations: 161.6 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.961e-05/1.159, allocations: 18.61 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/1.159, allocations: 4.859 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/1.159, allocations: 4.062 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/1.159, allocations: 30.56 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/1.159, allocations: 0 / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001781/1.159, allocations: 49.56 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/1.159, allocations: 55.53 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/1.159, allocations: 113.8 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/1.159, allocations: 25.7 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/1.159, allocations: 88.14 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/1.159, allocations: 3.953 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/1.159, allocations: 9.719 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.159, allocations: 318.8 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/1.16, allocations: 3.984 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/1.16, allocations: 8 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/1.16, allocations: 8.859 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.16, allocations: 0 / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.755e-05/1.16, allocations: 37.64 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.16, allocations: 8 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.16, allocations: 0 / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.16, allocations: 3.938 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/1.16, allocations: 7.984 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.16, allocations: 96 / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/1.16, allocations: 4 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/1.16, allocations: 7.938 kB / 1.17 GB, free: 0.5391 MB / 0.8887 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 0.0001029/1.16, allocations: 105.8 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/1.16, allocations: 7.953 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/1.16, allocations: 49.09 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.16, allocations: 0 / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.16, allocations: 4 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/1.16, allocations: 81.05 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/1.16, allocations: 4.031 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/1.16, allocations: 0 / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/1.16, allocations: 0 / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001066/1.16, allocations: 121 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001864/1.161, allocations: 206.8 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.901e-05/1.161, allocations: 12 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.908e-05/1.161, allocations: 87.28 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of Backend: time 5.41e-07/1.161, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005886/1.161, allocations: 108.4 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004781/1.162, allocations: 0.5493 MB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.003182/1.165, allocations: 0.5388 MB / 1.172 GB, free: 14.57 MB / 0.9044 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