Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001011/0.001011, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001139/0.001139, allocations: 165 kB / 24.16 MB, free: 328 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.968/0.968, allocations: 177.2 MB / 204.6 MB, free: 5.496 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.859/1.859, allocations: 377.9 MB / 0.624 GB, free: 8.336 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.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.717e-05, allocations: 2.312 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002609/0.002636, allocations: 1.48 MB / 0.7614 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.005578, allocations: 2.639 MB / 0.764 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.005602, allocations: 0 / 0.764 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.006852, allocations: 0.5741 MB / 0.7646 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.867e-05/0.0069, allocations: 32.45 kB / 0.7646 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 2.695e-06/0.006903, allocations: 0.75 kB / 0.7646 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.007115, allocations: 166.8 kB / 0.7648 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.007158, allocations: 15.19 kB / 0.7648 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.663e-05/0.007255, allocations: 89.91 kB / 0.7649 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.954e-05/0.007355, allocations: 59.83 kB / 0.7649 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.007364, allocations: 0 / 0.7649 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006961/0.00806, allocations: 407.9 kB / 0.7653 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.008103, allocations: 39.83 kB / 0.7653 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.008173, allocations: 59.81 kB / 0.7654 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.008677, allocations: 434.1 kB / 0.7658 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.008682, allocations: 0 / 0.7658 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.008682, allocations: 0 / 0.7658 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.008686, allocations: 2.75 kB / 0.7658 GB, free: 0.668 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005385/0.009225, allocations: 451.4 kB / 0.7662 GB, free: 204 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.009254, allocations: 8.031 kB / 0.7663 GB, free: 196 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.009378, allocations: 96.14 kB / 0.7663 GB, free: 100 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.009542, allocations: 231.9 kB / 0.7666 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.009587, allocations: 158.9 kB / 0.7667 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.009632, allocations: 160 kB / 0.7669 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.436e-05/0.009677, allocations: 105.5 kB / 0.767 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.009697, allocations: 75.47 kB / 0.767 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.009736, allocations: 151.9 kB / 0.7672 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/0.009776, allocations: 154.9 kB / 0.7673 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.009816, allocations: 163.4 kB / 0.7675 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.01002, allocations: 377.1 kB / 0.7679 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.298e-05/0.01008, allocations: 165.1 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.01011, allocations: 81.48 kB / 0.7681 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.01013, allocations: 79.27 kB / 0.7682 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.01017, allocations: 117.9 kB / 0.7683 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.01017, allocations: 1.5 kB / 0.7683 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 0.0001397/0.01031, allocations: 45.61 kB / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.01037, allocations: 126.7 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.01067, allocations: 343 kB / 0.7688 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.01069, allocations: 30.36 kB / 0.7688 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.01076, allocations: 132.5 kB / 0.7689 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.01076, allocations: 0.6562 kB / 0.7689 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.01084, allocations: 81.58 kB / 0.769 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.01096, allocations: 343.2 kB / 0.7693 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.01104, allocations: 62.91 kB / 0.7694 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.663e-05/0.01112, allocations: 101.8 kB / 0.7695 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.01132, allocations: 201.5 kB / 0.7697 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.01133, allocations: 4 kB / 0.7697 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004039/0.01173, allocations: 249.1 kB / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01175, allocations: 8 kB / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01175, allocations: 0 / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.01177, allocations: 4 kB / 0.7699 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-06/0.01177, allocations: 2.656 kB / 0.7699 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01178, allocations: 7.938 kB / 0.7699 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.01191, allocations: 47.52 kB / 0.77 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.01192, allocations: 7.984 kB / 0.77 GB, free: 12.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0001103/0.01203, allocations: 195.8 kB / 0.7702 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.01209, allocations: 113 kB / 0.7703 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.01215, allocations: 115.5 kB / 0.7704 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.337e-05/0.0122, allocations: 180.3 kB / 0.7706 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.353e-05/0.01225, allocations: 184.6 kB / 0.7707 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.544e-05/0.01231, allocations: 184.9 kB / 0.7709 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.01254, allocations: 361.2 kB / 0.7713 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/0.01257, allocations: 106.5 kB / 0.7714 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.0126, allocations: 105 kB / 0.7715 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-05/0.01266, allocations: 184.2 kB / 0.7716 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.01271, allocations: 180.9 kB / 0.7718 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.436e-05/0.01277, allocations: 180.2 kB / 0.772 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.191e-05/0.01282, allocations: 176.9 kB / 0.7722 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.01295, allocations: 315.7 kB / 0.7725 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.01301, allocations: 129.9 kB / 0.7726 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.01308, allocations: 192.2 kB / 0.7728 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.01319, allocations: 101.3 kB / 0.7729 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.01324, allocations: 181.5 kB / 0.773 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.01327, allocations: 108.9 kB / 0.7731 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001162/0.01339, allocations: 116.7 kB / 0.7732 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01339, allocations: 0.9375 kB / 0.7733 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003399/0.01373, allocations: 83.94 kB / 0.7733 GB, free: 8.586 MB / 0.7292 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 (0): * Single equations (assignments): 0 * 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.0002932/0.01402, allocations: 311.7 kB / 0.7736 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.01414, allocations: 78.06 kB / 0.7737 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.01414, allocations: 4 kB / 0.7737 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.01414, allocations: 0 / 0.7737 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.01442, allocations: 475.9 kB / 0.7742 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.01499, allocations: 444.2 kB / 0.7746 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.292e-05/0.01505, allocations: 91.3 kB / 0.7747 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.859e-06/0.01506, allocations: 4 kB / 0.7747 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.01511, allocations: 56.3 kB / 0.7747 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of SimCode: time 4.4e-07/0.01511, allocations: 0 / 0.7747 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of Templates: time 0.007426/0.02253, allocations: 4.36 MB / 0.779 GB, free: 2.867 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.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.049721654970199]