Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009123/0.0009123, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 165 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9863/0.9863, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.783/1.783, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.667e-05, allocations: 9.203 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001709/0.001726, allocations: 1.433 MB / 0.7614 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001136/0.001839, allocations: 48.47 kB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.001875, allocations: 1.625 kB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.002012, allocations: 7.875 kB / 0.7614 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.896e-05/0.0021, allocations: 21.98 kB / 0.7615 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 2.665e-06/0.002103, allocations: 0 / 0.7615 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.378e-05/0.002167, allocations: 16.81 kB / 0.7615 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.147e-05/0.002198, allocations: 4.906 kB / 0.7615 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/0.002242, allocations: 9.406 kB / 0.7615 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.002289, allocations: 10.89 kB / 0.7615 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.002304, allocations: 0 / 0.7615 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.79e-05/0.002342, allocations: 11.98 kB / 0.7615 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.002374, allocations: 7.391 kB / 0.7615 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.002387, allocations: 6.078 kB / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.663e-05/0.002464, allocations: 28.83 kB / 0.7616 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.252e-06/0.002465, allocations: 0 / 0.7616 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.91e-07/0.002465, allocations: 0 / 0.7616 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.002468, allocations: 5.219 kB / 0.7616 GB, free: 5.078 MB / 0.7136 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.0002058/0.002674, allocations: 234.2 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.002701, allocations: 8.031 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.952e-05/0.00272, allocations: 2.219 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.002824, allocations: 131.6 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-06/0.00283, allocations: 384 / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-06/0.002837, allocations: 384 / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.753e-05/0.002895, allocations: 38.34 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-06/0.0029, allocations: 192 / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.002905, allocations: 4.359 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.002925, allocations: 1.625 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.131e-05/0.002936, allocations: 15.86 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.322e-05/0.002999, allocations: 66.69 kB / 0.762 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.038e-05/0.00303, allocations: 20.62 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-06/0.003039, allocations: 4.859 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.00305, allocations: 0.5312 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.003072, allocations: 34.62 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.003072, allocations: 1.375 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 6.852e-05/0.003141, allocations: 37.62 kB / 0.7621 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.003168, allocations: 51.97 kB / 0.7622 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.864e-05/0.003226, allocations: 118.7 kB / 0.7623 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.003234, allocations: 26.92 kB / 0.7623 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.786e-05/0.003252, allocations: 81.02 kB / 0.7624 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.003268, allocations: 4 kB / 0.7624 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.003286, allocations: 10.47 kB / 0.7624 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.003353, allocations: 322.8 kB / 0.7627 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.126e-06/0.003356, allocations: 4.75 kB / 0.7627 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.00336, allocations: 16 / 0.7627 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.763e-05/0.003377, allocations: 13.88 kB / 0.7627 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003379, allocations: 0.875 kB / 0.7627 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.618e-05/0.003405, allocations: 33.64 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.003413, allocations: 4 kB / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.003417, allocations: 0.8438 kB / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.003427, allocations: 0 / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.552e-05/0.003462, allocations: 9.109 kB / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.003464, allocations: 0 / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-06/0.003472, allocations: 0 / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.003476, allocations: 0.875 kB / 0.7628 GB, free: 3.676 MB / 0.7136 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 4.359e-05/0.00352, allocations: 119.7 kB / 0.7629 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-06/0.003523, allocations: 0 / 0.7629 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.003571, allocations: 45.09 kB / 0.7629 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.003572, allocations: 0 / 0.7629 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.003574, allocations: 0 / 0.7629 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.003576, allocations: 0 / 0.7629 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.368e-05/0.00362, allocations: 73.84 kB / 0.763 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.00362, allocations: 3.688 kB / 0.763 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-06/0.003626, allocations: 3.984 kB / 0.763 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.003626, allocations: 0 / 0.763 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-06/0.003629, allocations: 0 / 0.763 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.003629, allocations: 0 / 0.763 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.00363, allocations: 0 / 0.763 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.675e-05/0.003667, allocations: 69.11 kB / 0.7631 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.003675, allocations: 11.94 kB / 0.7631 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-06/0.003681, allocations: 1.5 kB / 0.7631 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.308e-06/0.003685, allocations: 0 / 0.7631 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.714e-06/0.003693, allocations: 0 / 0.7631 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-07/0.003694, allocations: 0 / 0.7631 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.323e-05/0.003707, allocations: 18.52 kB / 0.7631 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.003707, allocations: 0 / 0.7631 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of remove unused functions: time 9.273e-05/0.0038, allocations: 11.98 kB / 0.7631 GB, free: 3.277 MB / 0.7136 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.0001238/0.003924, allocations: 101.5 kB / 0.7632 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.32e-05/0.003967, allocations: 13.67 kB / 0.7632 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.003969, allocations: 0.6562 kB / 0.7632 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.002e-06/0.003975, allocations: 10.42 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.757e-05/0.004022, allocations: 7.922 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001658/0.004188, allocations: 115.4 kB / 0.7634 GB, free: 3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.359e-05/0.004212, allocations: 57.8 kB / 0.7634 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.218e-05/0.004224, allocations: 3.938 kB / 0.7634 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.004249, allocations: 51.38 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.004249, allocations: 0 / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of Templates: time 0.001704/0.005953, allocations: 0.5687 MB / 0.764 GB, free: 2.344 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.712729405146092]