Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001837/0.001837, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.001954/0.001954, allocations: 165.3 kB / 23.56 MB, free: 0.8633 MB / 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.635/1.635, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.041/3.041, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.652e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05554/0.05556, allocations: 38.33 MB / 0.8483 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.07857, allocations: 11.23 MB / 0.8592 GB, free: 432 kB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003958/0.08252, allocations: 198.6 kB / 0.8594 GB, free: 232 kB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0131/0.09562, allocations: 4.515 MB / 0.8638 GB, free: 11.69 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.008202/0.1038, allocations: 2.396 MB / 0.8662 GB, free: 9.281 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006755/0.1106, allocations: 2.194 MB / 0.8683 GB, free: 7.082 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01487/0.1255, allocations: 9.461 MB / 0.8775 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01277/0.1382, allocations: 6.37 MB / 0.8838 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01374/0.152, allocations: 5.832 MB / 0.8895 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009684/0.1616, allocations: 4.49 MB / 0.8938 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002779/0.1644, allocations: 0.8242 MB / 0.8947 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005047/0.1695, allocations: 1.517 MB / 0.8961 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.006292/0.1758, allocations: 3.422 MB / 0.8995 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.007131/0.1829, allocations: 2.597 MB / 0.902 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01912/0.202, allocations: 12.64 MB / 0.9144 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.202, allocations: 0 / 0.9144 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.202, allocations: 0 / 0.9144 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003338/0.2024, allocations: 0 / 0.9144 GB, free: 7.711 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01897/0.2213, allocations: 7.288 MB / 0.9215 GB, free: 360 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2214, allocations: 8.031 kB / 0.9215 GB, free: 352 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007155/0.2285, allocations: 1.706 MB / 0.9231 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009807/0.2383, allocations: 3.515 MB / 0.9266 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004424/0.2388, allocations: 423.8 kB / 0.927 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001855/0.2406, allocations: 0.555 MB / 0.9275 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.2554, allocations: 6.964 MB / 0.9343 GB, free: 2.453 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/0.2556, allocations: 20.02 kB / 0.9343 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006538/0.2562, allocations: 252.3 kB / 0.9346 GB, free: 2.188 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006897/0.2569, allocations: 434.8 kB / 0.935 GB, free: 1.762 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007993/0.2649, allocations: 2.459 MB / 0.9374 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05397/0.3189, allocations: 34.84 MB / 0.9714 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003598/0.3225, allocations: 1.595 MB / 0.973 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.3246, allocations: 1.02 MB / 0.974 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.3248, allocations: 38 kB / 0.974 GB, free: 8.758 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.749e-05/0.3249, allocations: 63.33 kB / 0.9741 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=209): time 3.908e-06/0.3249, allocations: 0 / 0.9741 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of matching and sorting (n=212): time 0.0237/0.3486, allocations: 6.875 MB / 0.9808 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.3486, allocations: 73.41 kB / 0.9809 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/0.3521, allocations: 2.379 MB / 0.9832 GB, free: 15.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.3523, allocations: 61.7 kB / 0.9832 GB, free: 15.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002603/0.3549, allocations: 2.665 MB / 0.9858 GB, free: 12.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009611/0.3558, allocations: 0.8373 MB / 0.9867 GB, free: 11.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.3569, allocations: 0.5781 MB / 0.9872 GB, free: 11.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002472/0.3571, allocations: 480.7 kB / 0.9877 GB, free: 10.63 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.3585, allocations: 0.6143 MB / 0.9883 GB, free: 10.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/0.3611, allocations: 1.739 MB / 0.99 GB, free: 7.848 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/0.3657, allocations: 2.705 MB / 0.9926 GB, free: 4.719 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.3657, allocations: 8 kB / 0.9926 GB, free: 4.711 MB / 0.948 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007339/0.373, allocations: 3.274 MB / 0.9958 GB, free: 1.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.3731, allocations: 16 kB / 0.9958 GB, free: 1.395 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.3731, allocations: 23.98 kB / 0.9959 GB, free: 1.371 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004815/0.3779, allocations: 1.325 MB / 0.9972 GB, free: 36 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.3797, allocations: 459.2 kB / 0.9976 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/0.4004, allocations: 13.49 MB / 1.011 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.4026, allocations: 143.9 kB / 1.011 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.4028, allocations: 108 kB / 1.011 GB, free: 1.363 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001625/0.4044, allocations: 479.8 kB / 1.011 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006204/0.405, allocations: 338.4 kB / 1.012 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006155/0.4112, allocations: 2.53 MB / 1.014 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.4112, allocations: 20 kB / 1.014 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.793e-05/0.4112, allocations: 16 kB / 1.014 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/0.4113, allocations: 11.95 kB / 1.014 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.4281, allocations: 7.95 MB / 1.022 GB, free: 5.836 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.4281, allocations: 4 kB / 1.022 GB, free: 5.832 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.4292, allocations: 235.6 kB / 1.022 GB, free: 5.602 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004231/0.4334, allocations: 1.174 MB / 1.023 GB, free: 4.414 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.4336, allocations: 51.98 kB / 1.023 GB, free: 4.363 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/0.4538, allocations: 13.43 MB / 1.037 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.4538, allocations: 7.984 kB / 1.037 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006506/0.4603, allocations: 2.866 MB / 1.039 GB, free: 3.461 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/0.4619, allocations: 0.5137 MB / 1.04 GB, free: 2.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003419/0.4623, allocations: 40 kB / 1.04 GB, free: 2.906 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.4635, allocations: 119.9 kB / 1.04 GB, free: 2.789 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005458/0.4641, allocations: 193.5 kB / 1.04 GB, free: 2.602 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.4642, allocations: 56 kB / 1.04 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002044/0.4663, allocations: 1.321 MB / 1.042 GB, free: 1.211 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.4663, allocations: 0 / 1.042 GB, free: 1.211 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003449/0.4697, allocations: 1.145 MB / 1.043 GB, free: 68 kB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000328/0.4701, allocations: 163 kB / 1.043 GB, free: 15.89 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007026/0.4771, allocations: 3.537 MB / 1.046 GB, free: 12.29 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.4771, allocations: 3.938 kB / 1.046 GB, free: 12.28 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004749/0.4818, allocations: 2.512 MB / 1.049 GB, free: 9.695 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/0.4855, allocations: 0.8077 MB / 1.05 GB, free: 8.902 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/0.5025, allocations: 8.629 MB / 1.058 GB, free: 124 kB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.322/0.8245, allocations: 2.814 MB / 1.061 GB, free: 254 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00153/0.826, allocations: 466.8 kB / 1.061 GB, free: 254 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.8264, allocations: 137.6 kB / 1.061 GB, free: 254 MB / 1.01 GB Notification: Performance of SimCode: time 1.393e-06/0.8264, allocations: 3.844 kB / 1.061 GB, free: 254 MB / 1.01 GB Notification: Performance of Templates: time 0.07439/0.9008, allocations: 52.5 MB / 1.113 GB, free: 241.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.293123814975843]