Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0009936/0.0009936, 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.001005/0.001005, 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.029/1.029, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.941/1.941, allocations: 377.9 MB / 0.624 GB, free: 8.348 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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.139e-05, allocations: 7.266 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007301/0.007332, allocations: 4.191 MB / 0.7642 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00377/0.0111, allocations: 1.572 MB / 0.7657 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004521/0.01155, allocations: 31.69 kB / 0.7657 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007004/0.01226, allocations: 179.5 kB / 0.7659 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000924/0.01318, allocations: 361.2 kB / 0.7662 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008589/0.01404, allocations: 342.4 kB / 0.7666 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.01533, allocations: 0.998 MB / 0.7675 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006984/0.01603, allocations: 411.1 kB / 0.7679 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009939/0.01702, allocations: 0.5236 MB / 0.7684 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007473/0.01777, allocations: 367 kB / 0.7688 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.0179, allocations: 48 kB / 0.7688 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.01854, allocations: 136.7 kB / 0.769 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.01881, allocations: 263.2 kB / 0.7692 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.01913, allocations: 235.4 kB / 0.7694 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008296/0.01996, allocations: 0.5966 MB / 0.77 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.01997, allocations: 0 / 0.77 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01997, allocations: 3.938 kB / 0.77 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.01999, allocations: 1.469 kB / 0.77 GB, free: 12.39 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001414/0.02141, allocations: 0.8443 MB / 0.7709 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.02145, allocations: 12.03 kB / 0.7709 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.02272, allocations: 232.3 kB / 0.7711 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.02323, allocations: 444 kB / 0.7715 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.02326, allocations: 45.36 kB / 0.7716 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.02336, allocations: 60.5 kB / 0.7716 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.02391, allocations: 0.6926 MB / 0.7723 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.02393, allocations: 4.188 kB / 0.7723 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.02396, allocations: 28.11 kB / 0.7723 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.02407, allocations: 65.67 kB / 0.7724 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.02431, allocations: 202.1 kB / 0.7726 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.02639, allocations: 3.021 MB / 0.7755 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.02658, allocations: 172.9 kB / 0.7757 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/0.02666, allocations: 69.33 kB / 0.7758 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.02669, allocations: 4.281 kB / 0.7758 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.02671, allocations: 38.84 kB / 0.7758 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.295e-06/0.02671, allocations: 0 / 0.7758 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.001957/0.02867, allocations: 0.988 MB / 0.7768 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.02869, allocations: 55.41 kB / 0.7768 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.02892, allocations: 399.9 kB / 0.7772 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.02894, allocations: 33.7 kB / 0.7772 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.02907, allocations: 322.1 kB / 0.7775 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.02913, allocations: 122.9 kB / 0.7777 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.02922, allocations: 90.83 kB / 0.7777 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.02932, allocations: 374.6 kB / 0.7781 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.0294, allocations: 64.86 kB / 0.7782 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.02954, allocations: 227.4 kB / 0.7784 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.02983, allocations: 351 kB / 0.7787 GB, free: 3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02983, allocations: 1.781 kB / 0.7787 GB, free: 3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004852/0.03031, allocations: 419.7 kB / 0.7791 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.03033, allocations: 8 kB / 0.7791 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.03034, allocations: 9.469 kB / 0.7791 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/0.03074, allocations: 152.8 kB / 0.7793 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.03101, allocations: 107.8 kB / 0.7794 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.03265, allocations: 2.649 MB / 0.782 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.03282, allocations: 16 kB / 0.782 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.03284, allocations: 20 kB / 0.782 GB, free: 15.44 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.03298, allocations: 146.6 kB / 0.7821 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.03304, allocations: 43.95 kB / 0.7822 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.03347, allocations: 324 kB / 0.7825 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.03347, allocations: 5.031 kB / 0.7825 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.03347, allocations: 4 kB / 0.7825 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.03348, allocations: 5 kB / 0.7825 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.03452, allocations: 0.6911 MB / 0.7832 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.03453, allocations: 4 kB / 0.7832 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.03471, allocations: 58.05 kB / 0.7832 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003425/0.03506, allocations: 146.9 kB / 0.7834 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.03508, allocations: 8 kB / 0.7834 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.03657, allocations: 2.643 MB / 0.786 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.03658, allocations: 0 / 0.786 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.0371, allocations: 0.5219 MB / 0.7865 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.0372, allocations: 68.84 kB / 0.7865 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.03723, allocations: 12 kB / 0.7866 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.03736, allocations: 8 kB / 0.7866 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.03743, allocations: 35.81 kB / 0.7866 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.03744, allocations: 8.625 kB / 0.7866 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001186/0.03756, allocations: 165.8 kB / 0.7868 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.03756, allocations: 0 / 0.7868 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003982/0.03796, allocations: 156 kB / 0.7869 GB, free: 10.11 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001191/0.03808, allocations: 97.75 kB / 0.787 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005517/0.03863, allocations: 0.5085 MB / 0.7875 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/0.03864, allocations: 9.188 kB / 0.7875 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.03895, allocations: 392.7 kB / 0.7879 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.03941, allocations: 170.3 kB / 0.788 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.04082, allocations: 1.071 MB / 0.7891 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.04094, allocations: 174.8 kB / 0.7893 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.04113, allocations: 58.28 kB / 0.7893 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.04139, allocations: 177.2 kB / 0.7895 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/0.04139, allocations: 3.438 kB / 0.7895 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of Templates: time 0.01191/0.0533, allocations: 8.597 MB / 0.7979 GB, free: 15 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.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.242856302764267]