Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001789/0.001789, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001963/0.001963, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.37/3.37, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.908e-05, allocations: 6.781 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05592/0.05595, allocations: 38.32 MB / 0.9149 GB, free: 224 kB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02296/0.07891, allocations: 11.23 MB / 0.9259 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003754/0.08267, allocations: 202.5 kB / 0.9261 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01347/0.09613, allocations: 4.504 MB / 0.9305 GB, free: 260 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.007473/0.1036, allocations: 2.408 MB / 0.9328 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.006407/0.11, allocations: 2.19 MB / 0.9349 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01475/0.1248, allocations: 9.458 MB / 0.9442 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01477/0.1395, allocations: 6.37 MB / 0.9504 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01256/0.1521, allocations: 5.832 MB / 0.9561 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009205/0.1613, allocations: 4.486 MB / 0.9605 GB, free: 1.312 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002561/0.1639, allocations: 0.8203 MB / 0.9613 GB, free: 0.4922 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004691/0.1685, allocations: 1.517 MB / 0.9628 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.005903/0.1745, allocations: 3.43 MB / 0.9661 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.007049/0.1815, allocations: 2.597 MB / 0.9686 GB, free: 8.934 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01933/0.2008, allocations: 12.63 MB / 0.981 GB, free: 12.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.2008, allocations: 7.938 kB / 0.981 GB, free: 12.26 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2008, allocations: 0 / 0.981 GB, free: 12.26 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000396/0.2012, allocations: 0 / 0.981 GB, free: 12.26 MB / 0.948 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.01961/0.2209, allocations: 7.28 MB / 0.9881 GB, free: 4.906 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2209, allocations: 8.031 kB / 0.9881 GB, free: 4.898 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007884/0.2288, allocations: 1.714 MB / 0.9898 GB, free: 3.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009563/0.2383, allocations: 3.504 MB / 0.9932 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005828/0.2389, allocations: 431.7 kB / 0.9936 GB, free: 15.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001659/0.2406, allocations: 0.5628 MB / 0.9942 GB, free: 14.63 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.2553, allocations: 6.964 MB / 1.001 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.2554, allocations: 20.05 kB / 1.001 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006439/0.2561, allocations: 244.3 kB / 1.001 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007017/0.2568, allocations: 418.9 kB / 1.002 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007696/0.2645, allocations: 2.474 MB / 1.004 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05252/0.317, allocations: 34.85 MB / 1.038 GB, free: 15.96 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/0.3208, allocations: 1.591 MB / 1.04 GB, free: 14.37 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002277/0.323, allocations: 1.015 MB / 1.041 GB, free: 13.35 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.3232, allocations: 34 kB / 1.041 GB, free: 13.32 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.275e-05/0.3233, allocations: 67.25 kB / 1.041 GB, free: 13.24 MB / 1.01 GB Notification: Performance of pre-optimization done (n=209): time 4.208e-06/0.3233, allocations: 0 / 1.041 GB, free: 13.24 MB / 1.01 GB Notification: Performance of matching and sorting (n=212): time 0.02321/0.3465, allocations: 6.883 MB / 1.047 GB, free: 6.34 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.3465, allocations: 77.41 kB / 1.048 GB, free: 6.25 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004079/0.3506, allocations: 2.371 MB / 1.05 GB, free: 3.844 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002303/0.3509, allocations: 69.7 kB / 1.05 GB, free: 3.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002411/0.3533, allocations: 2.654 MB / 1.052 GB, free: 1.09 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.3543, allocations: 0.8412 MB / 1.053 GB, free: 248 kB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3406/0.6949, allocations: 0.5725 MB / 1.054 GB, free: 193 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.6949, allocations: 484.2 kB / 1.054 GB, free: 192.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.6961, allocations: 0.6101 MB / 1.055 GB, free: 192.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.6976, allocations: 1.746 MB / 1.057 GB, free: 191.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/0.7004, allocations: 2.71 MB / 1.059 GB, free: 190 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.7004, allocations: 6.5 kB / 1.059 GB, free: 190 MB / 1.01 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005688/0.7061, allocations: 3.268 MB / 1.062 GB, free: 189.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.7061, allocations: 17.41 kB / 1.062 GB, free: 189.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.7061, allocations: 21.19 kB / 1.062 GB, free: 189.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004/0.7101, allocations: 1.341 MB / 1.064 GB, free: 189.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.7117, allocations: 459 kB / 1.064 GB, free: 189.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/0.7259, allocations: 13.46 MB / 1.077 GB, free: 181.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.728, allocations: 150.8 kB / 1.078 GB, free: 181.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.7282, allocations: 105.8 kB / 1.078 GB, free: 181.6 MB / 1.01 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.001349/0.7296, allocations: 478.8 kB / 1.078 GB, free: 181.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004785/0.73, allocations: 346.9 kB / 1.078 GB, free: 181.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/0.735, allocations: 2.531 MB / 1.081 GB, free: 180.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.735, allocations: 21 kB / 1.081 GB, free: 180.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/0.735, allocations: 15.75 kB / 1.081 GB, free: 180.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.735, allocations: 9.891 kB / 1.081 GB, free: 180.3 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.7489, allocations: 7.947 MB / 1.089 GB, free: 176.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.7489, allocations: 8.344 kB / 1.089 GB, free: 176.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.7499, allocations: 237.3 kB / 1.089 GB, free: 176.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00415/0.7541, allocations: 1.171 MB / 1.09 GB, free: 176.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.7543, allocations: 43.16 kB / 1.09 GB, free: 176.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/0.7698, allocations: 13.42 MB / 1.103 GB, free: 166.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7698, allocations: 4.594 kB / 1.103 GB, free: 166.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005483/0.7753, allocations: 2.875 MB / 1.106 GB, free: 165.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/0.7768, allocations: 0.5137 MB / 1.107 GB, free: 165.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003759/0.7772, allocations: 43.88 kB / 1.107 GB, free: 165.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.7784, allocations: 120.1 kB / 1.107 GB, free: 165.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004933/0.7789, allocations: 191.9 kB / 1.107 GB, free: 165.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.7791, allocations: 60.12 kB / 1.107 GB, free: 165.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001688/0.7808, allocations: 1.317 MB / 1.108 GB, free: 164.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.7808, allocations: 0 / 1.108 GB, free: 164.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003408/0.7842, allocations: 1.147 MB / 1.109 GB, free: 164.5 MB / 1.01 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.0002799/0.7844, allocations: 156.2 kB / 1.109 GB, free: 164.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005936/0.7904, allocations: 3.544 MB / 1.113 GB, free: 162.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.7904, allocations: 3.562 kB / 1.113 GB, free: 162.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003897/0.7943, allocations: 2.508 MB / 1.115 GB, free: 161.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/0.7978, allocations: 0.8193 MB / 1.116 GB, free: 161 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.8119, allocations: 8.615 MB / 1.125 GB, free: 156.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00414/0.816, allocations: 2.815 MB / 1.127 GB, free: 155.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001781/0.8178, allocations: 461 kB / 1.128 GB, free: 155.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.8182, allocations: 142.3 kB / 1.128 GB, free: 155.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.123e-06/0.8182, allocations: 1.188 kB / 1.128 GB, free: 155.8 MB / 1.01 GB Notification: Performance of Templates: time 0.06982/0.888, allocations: 52.5 MB / 1.179 GB, free: 121 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.448104965034872]