Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00156/0.00156, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001614/0.001614, allocations: 193.2 kB / 16.91 MB, free: 6.188 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.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.665/2.665, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.001929, allocations: 59.44 kB / 0.9087 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.32, allocations: 159.1 MB / 1.064 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002669/0.3227, allocations: 1.439 MB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001402/0.3228, allocations: 35.89 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.3229, allocations: 3.938 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.323, allocations: 4 kB / 1.066 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.3232, allocations: 19.86 kB / 1.066 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.3232, allocations: 0 / 1.066 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.244e-05/0.3232, allocations: 19.92 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.3233, allocations: 4 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.3233, allocations: 11.94 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.3234, allocations: 7.984 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.3234, allocations: 3.938 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.241e-05/0.3234, allocations: 12 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.36e-05/0.3235, allocations: 3.984 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.3235, allocations: 11.94 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.737e-05/0.3236, allocations: 19.97 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3236, allocations: 4 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3236, allocations: 0 / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.3236, allocations: 0 / 1.066 GB, free: 13.57 MB / 0.8419 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.000362/0.324, allocations: 335.7 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.324, allocations: 8.031 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.324, allocations: 4.938 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.3242, allocations: 180.2 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3242, allocations: 4.359 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.3243, allocations: 384 / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.854e-05/0.3243, allocations: 42.17 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.3244, allocations: 192 / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3244, allocations: 7.938 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.3244, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.3244, allocations: 4 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.3246, allocations: 157.7 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.301e-05/0.3246, allocations: 18.64 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.3247, allocations: 8.797 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.3247, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3247, allocations: 34.56 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3247, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.3248, allocations: 45.62 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.3249, allocations: 51.41 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.325, allocations: 117.8 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.325, allocations: 25.7 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.3251, allocations: 80.14 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.3251, allocations: 7.906 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.3252, allocations: 17.84 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3253, allocations: 314.8 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.3253, allocations: 3.938 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.3253, allocations: 4 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.3254, allocations: 12.86 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3254, allocations: 3.938 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.315e-05/0.3254, allocations: 41.69 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.3255, allocations: 8.094 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3255, allocations: 3.938 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.3255, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.177e-05/0.3255, allocations: 4 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.3255, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.3256, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3256, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8419 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.721e-05/0.3257, allocations: 120 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.3257, allocations: 3.906 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.272e-05/0.3258, allocations: 57.09 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3258, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3258, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.3258, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.3259, allocations: 157.7 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3259, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.326, allocations: 4 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.326, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.326, allocations: 3.938 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.326, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.326, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.837e-05/0.3261, allocations: 69.09 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.3261, allocations: 81.11 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.3262, allocations: 3.938 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.3262, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.3262, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-06/0.3262, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.3263, allocations: 91.27 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3263, allocations: 4.031 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001789/0.3265, allocations: 4 kB / 1.068 GB, free: 11.14 MB / 0.8419 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.0002091/0.3267, allocations: 113.5 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.753e-05/0.3267, allocations: 7.984 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3268, allocations: 4.062 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.3268, allocations: 11.88 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.3269, allocations: 3.938 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.3272, allocations: 155.2 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.3275, allocations: 0.6768 MB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.3275, allocations: 7.438 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3275, allocations: 64 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of Templates: time 0.002296/0.3298, allocations: 0.7724 MB / 1.069 GB, free: 9.34 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches