Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.002266/0.002266, allocations: 87.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.001995/0.001995, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.538/1.538, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.865/2.865, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.761e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.08436/0.08439, allocations: 35.14 MB / 0.8207 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02373/0.1081, allocations: 11.77 MB / 0.8322 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003342/0.1115, allocations: 211.4 kB / 0.8324 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01287/0.1243, allocations: 4.398 MB / 0.8367 GB, free: 9.207 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.006894/0.1312, allocations: 2.148 MB / 0.8388 GB, free: 7.047 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.006926/0.1382, allocations: 2.439 MB / 0.8412 GB, free: 4.602 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01246/0.1506, allocations: 8.611 MB / 0.8496 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01367/0.1643, allocations: 6.205 MB / 0.8556 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.177, allocations: 5.454 MB / 0.861 GB, free: 180 kB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009393/0.1864, allocations: 4.194 MB / 0.8651 GB, free: 11.97 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.00457/0.191, allocations: 0.7812 MB / 0.8658 GB, free: 11.19 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007292/0.1983, allocations: 1.926 MB / 0.8677 GB, free: 9.262 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.006397/0.2047, allocations: 3.329 MB / 0.871 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.007383/0.2121, allocations: 2.409 MB / 0.8733 GB, free: 3.512 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.02022/0.2323, allocations: 12.31 MB / 0.8853 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.2323, allocations: 4 kB / 0.8853 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2323, allocations: 0 / 0.8853 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004269/0.2327, allocations: 0 / 0.8853 GB, free: 7.168 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01936/0.2521, allocations: 6.72 MB / 0.8919 GB, free: 384 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.2521, allocations: 12.03 kB / 0.8919 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009951/0.2621, allocations: 1.772 MB / 0.8936 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.2727, allocations: 3.35 MB / 0.8969 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005438/0.2733, allocations: 415.5 kB / 0.8973 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002225/0.2755, allocations: 0.5433 MB / 0.8978 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.2948, allocations: 6.101 MB / 0.9038 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002782/0.2951, allocations: 31.97 kB / 0.9038 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001503/0.2966, allocations: 240.3 kB / 0.9041 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005186/0.2971, allocations: 354.6 kB / 0.9044 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.3073, allocations: 2.255 MB / 0.9066 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05648/0.3638, allocations: 33.53 MB / 0.9393 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.367, allocations: 1.294 MB / 0.9406 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/0.3691, allocations: 0.9116 MB / 0.9415 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.3693, allocations: 30 kB / 0.9415 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/0.3694, allocations: 55.39 kB / 0.9416 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=179): time 4.668e-06/0.3694, allocations: 0 / 0.9416 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=182): time 0.02463/0.394, allocations: 6.594 MB / 0.948 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.3941, allocations: 69.41 kB / 0.9481 GB, free: 5.223 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/0.3973, allocations: 1.905 MB / 0.9499 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.3975, allocations: 57.7 kB / 0.95 GB, free: 3.246 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002508/0.4, allocations: 2.467 MB / 0.9524 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009127/0.4009, allocations: 0.7287 MB / 0.9531 GB, free: 24 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009515/0.4018, allocations: 0.4904 MB / 0.9536 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002482/0.4021, allocations: 480.7 kB / 0.9541 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4033, allocations: 496.2 kB / 0.9545 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.4056, allocations: 1.575 MB / 0.9561 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/0.4098, allocations: 2.304 MB / 0.9583 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-05/0.4098, allocations: 8 kB / 0.9583 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00735/0.4172, allocations: 2.926 MB / 0.9612 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.4172, allocations: 18.28 kB / 0.9612 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.48e-05/0.4173, allocations: 24 kB / 0.9612 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004842/0.4221, allocations: 1.33 MB / 0.9625 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.4236, allocations: 355.3 kB / 0.9629 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/0.4475, allocations: 13.74 MB / 0.9763 GB, free: 6.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.4493, allocations: 123.8 kB / 0.9764 GB, free: 6.789 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003819/0.4497, allocations: 100 kB / 0.9765 GB, free: 6.691 MB / 0.9323 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001868/0.4516, allocations: 423.9 kB / 0.9769 GB, free: 6.266 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007554/0.4523, allocations: 286.6 kB / 0.9772 GB, free: 5.984 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006847/0.4592, allocations: 2.334 MB / 0.9794 GB, free: 3.613 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.4592, allocations: 20 kB / 0.9795 GB, free: 3.594 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.49e-05/0.4593, allocations: 16 kB / 0.9795 GB, free: 3.578 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.4593, allocations: 7.969 kB / 0.9795 GB, free: 3.57 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01998/0.4793, allocations: 7.649 MB / 0.987 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.4793, allocations: 8.5 kB / 0.987 GB, free: 11.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009521/0.4802, allocations: 187.8 kB / 0.9871 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004403/0.4846, allocations: 1.119 MB / 0.9882 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002295/0.4849, allocations: 36 kB / 0.9883 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/0.5063, allocations: 12.89 MB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.5063, allocations: 4 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006675/0.5129, allocations: 2.616 MB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/0.5146, allocations: 434.4 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/0.515, allocations: 36 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.5162, allocations: 87.89 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005592/0.5167, allocations: 173.5 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.5169, allocations: 48 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001903/0.5188, allocations: 1.048 MB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.5188, allocations: 0 / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003891/0.5227, allocations: 1 MB / 1.006 GB, free: 7.492 MB / 0.9636 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003049/0.523, allocations: 151 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006773/0.5298, allocations: 3.294 MB / 1.01 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5298, allocations: 0 / 1.01 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004534/0.5343, allocations: 2.35 MB / 1.012 GB, free: 1.547 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/0.538, allocations: 0.7598 MB / 1.013 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.5547, allocations: 7.973 MB / 1.02 GB, free: 8.703 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004931/0.5596, allocations: 2.699 MB / 1.023 GB, free: 5.961 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001405/0.561, allocations: 387 kB / 1.023 GB, free: 5.578 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.5614, allocations: 112.5 kB / 1.023 GB, free: 5.465 MB / 0.9792 GB Notification: Performance of SimCode: time 1.102e-06/0.5614, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.9792 GB Notification: Performance of Templates: time 0.4104/0.9718, allocations: 44.99 MB / 1.067 GB, free: 278.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 9.79473524109926]