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.008434/0.008434, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001831/0.001831, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.451/1.451, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.518/2.518, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.8247, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002233/0.8269, allocations: 1.368 MB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001363/0.8271, allocations: 47.81 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.8271, allocations: 4 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.8273, allocations: 7.922 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.478e-05/0.8274, allocations: 15.94 kB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.8274, allocations: 0 / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.419e-05/0.8275, allocations: 23.86 kB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.8275, allocations: 0 / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.8276, allocations: 11.97 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.649e-05/0.8276, allocations: 11.94 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.8276, allocations: 0 / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.8277, allocations: 12 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.8277, allocations: 8 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.8277, allocations: 3.938 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.769e-05/0.8278, allocations: 35.89 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.8279, allocations: 0 / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.957e-06/0.8279, allocations: 0 / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.8279, allocations: 3.938 kB / 1.209 GB, free: 12.04 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.0002888/0.8282, allocations: 335.3 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.8282, allocations: 8.031 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.8282, allocations: 4.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.8284, allocations: 180.2 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.8284, allocations: 4.359 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.8284, allocations: 4.375 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/0.8285, allocations: 30.27 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.8285, allocations: 192 / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.8285, allocations: 3.938 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.8285, allocations: 3.938 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.8286, allocations: 4 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.8287, allocations: 153.7 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.8288, allocations: 22.52 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.8288, allocations: 12.92 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.8288, allocations: 7.969 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.8288, allocations: 30.56 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.8288, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001094/0.8289, allocations: 41.64 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.829, allocations: 55.34 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.8291, allocations: 113.8 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.8291, allocations: 33.83 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.8291, allocations: 80.14 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.8292, allocations: 7.891 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.8292, allocations: 17.72 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.8293, allocations: 314.8 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.8293, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-06/0.8293, allocations: 4 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.8294, allocations: 16.92 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.8294, allocations: 0 / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.7e-05/0.8294, allocations: 41.62 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.8294, allocations: 4 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.8294, allocations: 3.938 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.8295, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.014e-05/0.8295, allocations: 4 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.8295, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.8295, allocations: 4 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.8295, allocations: 0 / 1.211 GB, free: 10.3 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 6.675e-05/0.8296, allocations: 121.9 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.8296, allocations: 3.906 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.772e-05/0.8297, allocations: 41.17 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.8297, allocations: 0 / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.8297, allocations: 0 / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.8297, allocations: 3.984 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.378e-05/0.8298, allocations: 153.7 kB / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8298, allocations: 0 / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.8299, allocations: 7.938 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.8299, allocations: 7.969 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.8299, allocations: 7.938 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8299, allocations: 0 / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8299, allocations: 0 / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.42e-05/0.83, allocations: 57.12 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.83, allocations: 85.02 kB / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.83, allocations: 7.938 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.27e-05/0.83, allocations: 8.016 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.83, allocations: 0 / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.8301, allocations: 0 / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.015e-05/0.8301, allocations: 91.27 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8301, allocations: 0 / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001825/0.8303, allocations: 4 kB / 1.211 GB, free: 9.605 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.0001663/0.8305, allocations: 118.6 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.385e-05/0.8305, allocations: 15.94 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.8306, allocations: 0 / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.8306, allocations: 0 / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.8307, allocations: 4 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/0.8309, allocations: 111.3 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.8312, allocations: 0.6808 MB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.057e-05/0.8312, allocations: 7.953 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.8312, allocations: 11.42 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8313, allocations: 0 / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of Templates: time 0.002197/0.8335, allocations: 0.5042 MB / 1.213 GB, free: 8.105 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/jenkins/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