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.0009704/0.0009704, 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.001045/0.001045, allocations: 161 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 1.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.148 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 2.039/2.039, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] 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.743e-06/1.743e-06, allocations: 1.094 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.634e-05, allocations: 2.312 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003037/0.003063, allocations: 1.482 MB / 0.7615 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.003226, allocations: 40.58 kB / 0.7615 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.003271, allocations: 5.359 kB / 0.7615 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.003465, allocations: 9.219 kB / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.003591, allocations: 16.84 kB / 0.7615 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.003594, allocations: 0 / 0.7615 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.12e-05/0.003676, allocations: 22.38 kB / 0.7616 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.003716, allocations: 4 kB / 0.7616 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.003772, allocations: 13.69 kB / 0.7616 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.003832, allocations: 5.625 kB / 0.7616 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003848, allocations: 5.25 kB / 0.7616 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.107e-05/0.003899, allocations: 12 kB / 0.7616 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.003936, allocations: 1.969 kB / 0.7616 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.003953, allocations: 4.984 kB / 0.7616 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.004071, allocations: 27.02 kB / 0.7616 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.004076, allocations: 3.984 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004077, allocations: 0 / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.004081, allocations: 0.5625 kB / 0.7616 GB, free: 5.035 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.0002654/0.004346, allocations: 242.3 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.004382, allocations: 8.031 kB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.004409, allocations: 3.125 kB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.004553, allocations: 126.5 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.004561, allocations: 384 / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.004567, allocations: 4.359 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.802e-05/0.004635, allocations: 35.14 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.004643, allocations: 192 / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-06/0.004647, allocations: 1.125 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.004674, allocations: 4.312 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.047e-05/0.004694, allocations: 8.688 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.733e-05/0.004782, allocations: 70.69 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.661e-05/0.004818, allocations: 23.36 kB / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.004831, allocations: 4.859 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.004846, allocations: 6.172 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.00487, allocations: 35.39 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.004871, allocations: 0 / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 8.662e-05/0.004957, allocations: 33.64 kB / 0.7622 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.004991, allocations: 51.41 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.005086, allocations: 116.5 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.005096, allocations: 25.7 kB / 0.7624 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.005125, allocations: 81.02 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.005145, allocations: 0 / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.005172, allocations: 17.7 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.00527, allocations: 322 kB / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.005278, allocations: 4 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.005284, allocations: 16 / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.00531, allocations: 19.62 kB / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005312, allocations: 0 / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.699e-05/0.005369, allocations: 34.34 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.005383, allocations: 8.656 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005387, allocations: 0 / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.005399, allocations: 0 / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.397e-05/0.005443, allocations: 4 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.005446, allocations: 0 / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.005459, allocations: 1.094 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.005464, allocations: 0 / 0.7629 GB, free: 3.629 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 6.493e-05/0.005529, allocations: 118 kB / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.005539, allocations: 3.984 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.456e-05/0.005614, allocations: 37.11 kB / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.005615, allocations: 1.562 kB / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.005617, allocations: 0 / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.005619, allocations: 0 / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.626e-05/0.005685, allocations: 69.83 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005686, allocations: 4 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.398e-05/0.0057, allocations: 1.938 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.005703, allocations: 0 / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.005707, allocations: 0 / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.005708, allocations: 0.5 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005709, allocations: 0 / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.902e-05/0.005778, allocations: 80.61 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.005789, allocations: 12.55 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.005797, allocations: 0 / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-06/0.005806, allocations: 0.625 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.005818, allocations: 3.984 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.005822, allocations: 6.938 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.323e-05/0.005845, allocations: 21.14 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.005845, allocations: 0 / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001754/0.006021, allocations: 4 kB / 0.7632 GB, free: 3.223 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.0001907/0.006212, allocations: 106.2 kB / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.894e-05/0.00626, allocations: 8.859 kB / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.006265, allocations: 4 kB / 0.7633 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.714e-06/0.006272, allocations: 8.859 kB / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.601e-05/0.006348, allocations: 7.938 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.006582, allocations: 116.8 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.006614, allocations: 55.36 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.867e-05/0.006633, allocations: 3.984 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.006668, allocations: 52.47 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/0.006668, allocations: 0 / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of Templates: time 0.002651/0.00932, allocations: 0.5633 MB / 0.7641 GB, free: 2.293 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 -s gbode -gbm=radauIIA3 -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: 5.134083318989724]