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.00131/0.00131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001391/0.001391, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.715/2.715, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.625/0.627, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002667/0.6297, allocations: 1.437 MB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001435/0.6299, allocations: 36.42 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.6299, allocations: 0 / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.6301, allocations: 15.94 kB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.6302, allocations: 15.91 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.725e-06/0.6302, allocations: 0 / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.62e-05/0.6302, allocations: 8 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.6303, allocations: 8 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.6303, allocations: 11.86 kB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.6304, allocations: 7.938 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.6304, allocations: 4 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.189e-05/0.6304, allocations: 12 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.6305, allocations: 7.984 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.6305, allocations: 7.922 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.981e-05/0.6306, allocations: 27.92 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.6306, allocations: 3.984 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6306, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.798e-06/0.6306, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.7637 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.0003603/0.631, allocations: 337.4 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.631, allocations: 8.031 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.6311, allocations: 0.9375 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.6313, allocations: 184.3 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.6313, allocations: 384 / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.6313, allocations: 4.359 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.852e-05/0.6314, allocations: 30.27 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.6314, allocations: 4.125 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.6314, allocations: 3.938 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.6314, allocations: 0 / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.6315, allocations: 7.938 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.6316, allocations: 157.7 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/0.6317, allocations: 22.56 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.6317, allocations: 8.922 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.6317, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.6318, allocations: 30.56 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.6318, allocations: 3.938 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001271/0.6319, allocations: 41.64 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.632, allocations: 55.53 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.6321, allocations: 113.9 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.6321, allocations: 25.7 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.6322, allocations: 88.12 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.6322, allocations: 11.78 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.6322, allocations: 13.72 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6324, allocations: 314.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.6324, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-06/0.6324, allocations: 8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.6324, allocations: 20.78 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6324, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.735e-05/0.6325, allocations: 29.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.6325, allocations: 8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6325, allocations: 3.938 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.6326, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.371e-05/0.6326, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.6326, allocations: 4.094 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.6326, allocations: 7.984 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.6326, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 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 7.692e-05/0.6327, allocations: 113.8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.6327, allocations: 4 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.972e-05/0.6328, allocations: 49.09 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.6328, allocations: 4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6329, allocations: 4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.6329, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.633, allocations: 157.7 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.633, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.633, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.633, allocations: 11.92 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.633, allocations: 3.938 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.633, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.633, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.666e-05/0.6331, allocations: 72.97 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.6332, allocations: 77.11 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.6332, allocations: 3.938 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-06/0.6332, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.6332, allocations: 7.984 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.6332, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.6333, allocations: 87.59 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6333, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001819/0.6335, allocations: 4 kB / 1.02 GB, free: 14.74 MB / 0.7794 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.000208/0.6337, allocations: 123.3 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.6e-05/0.6338, allocations: 8 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6338, allocations: 4 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.076e-06/0.6338, allocations: 0 / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.634, allocations: 7.922 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.6342, allocations: 127.2 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.6345, allocations: 0.677 MB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.942e-05/0.6346, allocations: 7.984 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.6346, allocations: 15.44 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6347, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of Templates: time 0.002576/0.6372, allocations: 488.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 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=400 -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