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.001335/0.001335, allocations: 102.7 kB / 16.4 MB, free: 5.977 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.001308/0.001308, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.374/1.374, 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 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 60.12 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.018, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003005/1.021, allocations: 1.378 MB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001925/1.021, allocations: 51.75 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/1.021, allocations: 0 / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/1.022, allocations: 7.922 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/1.022, allocations: 11.94 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/1.022, allocations: 4 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.85e-05/1.022, allocations: 19.92 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/1.022, allocations: 7.984 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.449e-05/1.022, allocations: 7.938 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/1.022, allocations: 7.984 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/1.022, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-05/1.022, allocations: 8 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/1.022, allocations: 11.94 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/1.022, allocations: 3.938 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/1.022, allocations: 31.89 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.022, allocations: 4 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/1.022, allocations: 0 / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.003e-05/1.022, allocations: 0 / 1.21 GB, free: 12.03 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.0004217/1.023, allocations: 335.3 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.023, allocations: 12.03 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/1.023, allocations: 0.9375 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/1.023, allocations: 176.3 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/1.023, allocations: 384 / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/1.023, allocations: 8.25 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.912e-05/1.023, allocations: 38.25 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.023, allocations: 192 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.023, allocations: 7.922 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/1.023, allocations: 0 / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/1.023, allocations: 4 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/1.024, allocations: 153.7 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/1.024, allocations: 26.52 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/1.024, allocations: 8.859 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/1.024, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/1.024, allocations: 34.5 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/1.024, allocations: 4.062 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001684/1.024, allocations: 41.62 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/1.024, allocations: 51.41 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/1.024, allocations: 117.8 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/1.024, allocations: 25.7 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/1.024, allocations: 84.27 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/1.024, allocations: 7.844 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/1.024, allocations: 17.72 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.024, allocations: 314.8 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/1.024, allocations: 4 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/1.024, allocations: 0 / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.862e-05/1.024, allocations: 12.86 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.024, allocations: 4.062 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.077e-05/1.025, allocations: 37.69 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.025, allocations: 4 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/1.025, allocations: 3.938 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.025, allocations: 0 / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/1.025, allocations: 4 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.025, allocations: 3.938 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/1.025, allocations: 0 / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/1.025, allocations: 0 / 1.211 GB, free: 10.29 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 8.691e-05/1.025, allocations: 117.9 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/1.025, allocations: 3.906 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/1.025, allocations: 49.16 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.025, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.025, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/1.025, allocations: 3.938 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/1.025, allocations: 157.7 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.025, allocations: 4 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/1.025, allocations: 4 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.025, allocations: 32 / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/1.025, allocations: 7.938 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.025, allocations: 0 / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.025, allocations: 0 / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.306e-05/1.025, allocations: 61.06 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/1.025, allocations: 92.95 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/1.025, allocations: 3.938 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.082e-05/1.025, allocations: 0 / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/1.025, allocations: 4.031 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/1.025, allocations: 0 / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.373e-05/1.025, allocations: 95.27 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.025, allocations: 0 / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001984/1.026, allocations: 4 kB / 1.212 GB, free: 9.586 MB / 0.9356 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.0002403/1.026, allocations: 121.8 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.464e-05/1.026, allocations: 15.92 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.026, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.033e-05/1.026, allocations: 4 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/1.026, allocations: 1.547 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/1.027, allocations: 145 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/1.027, allocations: 0.6768 MB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/1.027, allocations: 11.56 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/1.027, allocations: 0 / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of Templates: time 0.002414/1.029, allocations: 0.7744 MB / 1.214 GB, free: 7.789 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