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.008626/0.008626, allocations: 101.3 kB / 15.73 MB, free: 6.066 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.001594/0.001594, allocations: 196.3 kB / 16.68 MB, free: 5.973 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.44/1.44, allocations: 222.9 MB / 240.4 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.409/2.409, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 55.91 kB / 1.018 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.7899, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002839/0.7928, allocations: 1.369 MB / 1.168 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.793, allocations: 46.33 kB / 1.168 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.793, allocations: 3.938 kB / 1.168 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.7933, allocations: 15.88 kB / 1.168 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.7934, allocations: 11.92 kB / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.7934, allocations: 0 / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.7935, allocations: 15.88 kB / 1.168 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.7935, allocations: 15.97 kB / 1.168 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.7936, allocations: 8 kB / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.7936, allocations: 7.938 kB / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.7937, allocations: 0 / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.725e-05/0.7937, allocations: 19.98 kB / 1.168 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.7938, allocations: 0 / 1.168 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.7938, allocations: 11.94 kB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.7939, allocations: 28.88 kB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7939, allocations: 0 / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7939, allocations: 0 / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7939, allocations: 0 / 1.168 GB, free: 2.305 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.0003429/0.7943, allocations: 346.8 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.7943, allocations: 12.92 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.7944, allocations: 0.9375 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.7945, allocations: 172.3 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.7946, allocations: 384 / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-06/0.7946, allocations: 4.375 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.909e-05/0.7947, allocations: 34.2 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.7947, allocations: 192 / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.7947, allocations: 3.938 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.7947, allocations: 11.98 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.7948, allocations: 0 / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.7949, allocations: 157.7 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.178e-05/0.795, allocations: 18.61 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.795, allocations: 4.859 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.795, allocations: 3.938 kB / 1.169 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.7951, allocations: 42.62 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.7951, allocations: 0 / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.7952, allocations: 41.62 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.7953, allocations: 51.41 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.7954, allocations: 113.8 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.7954, allocations: 25.7 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.7955, allocations: 84.14 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.7955, allocations: 7.953 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.7955, allocations: 13.84 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7957, allocations: 314.8 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.7957, allocations: 11.92 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-06/0.7957, allocations: 3.938 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.7957, allocations: 12.8 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.7957, allocations: 0 / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.231e-05/0.7958, allocations: 37.7 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7958, allocations: 4 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.7958, allocations: 12.03 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.7959, allocations: 0 / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.7959, allocations: 3.984 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.7959, allocations: 0 / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.7959, allocations: 0 / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.796, allocations: 8 kB / 1.17 GB, free: 0.5547 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 8.289e-05/0.796, allocations: 109.8 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.7961, allocations: 3.953 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.407e-05/0.7962, allocations: 57.09 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.7962, allocations: 0 / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.7962, allocations: 0 / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7962, allocations: 4 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.7963, allocations: 153.7 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7963, allocations: 0 / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/0.7963, allocations: 0 / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7963, allocations: 0 / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.7964, allocations: 11.91 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.7964, allocations: 4 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7964, allocations: 0 / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.225e-05/0.7964, allocations: 65.11 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.7965, allocations: 77.11 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.7965, allocations: 7.922 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.042e-05/0.7965, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-06/0.7966, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.7966, allocations: 4 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.616e-05/0.7966, allocations: 91.59 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7966, allocations: 4.031 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001979/0.7968, allocations: 11.94 kB / 1.17 GB, free: 15.86 MB / 0.9044 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.0002097/0.7971, allocations: 112.4 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.228e-05/0.7971, allocations: 4 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7972, allocations: 4 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.7972, allocations: 11.94 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.7973, allocations: 11.92 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.7976, allocations: 105.4 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.7978, allocations: 0.6729 MB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.06e-05/0.7979, allocations: 7.984 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.7979, allocations: 7.438 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.7979, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of Templates: time 0.002528/0.8004, allocations: 0.4924 MB / 1.172 GB, free: 14.38 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/jenkins/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