Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.00168/0.00168, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.00193/0.00193, allocations: 210.3 kB / 22.99 MB, free: 4.957 MB / 14.72 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.186/3.186, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_L,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 70.75 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3904, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0411/0.4315, allocations: 31.51 MB / 1.358 GB, free: 1.348 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.4513, allocations: 10.29 MB / 1.368 GB, free: 7.031 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004878/0.4561, allocations: 194.5 kB / 1.368 GB, free: 6.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01076/0.4669, allocations: 3.741 MB / 1.372 GB, free: 3.094 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007156/0.474, allocations: 1.944 MB / 1.374 GB, free: 1.141 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006782/0.4808, allocations: 2.146 MB / 1.376 GB, free: 15 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.4919, allocations: 7.326 MB / 1.383 GB, free: 7.645 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009013/0.5009, allocations: 5.15 MB / 1.388 GB, free: 2.371 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006295/0.5072, allocations: 3.295 MB / 1.391 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0075/0.5147, allocations: 3.672 MB / 1.395 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002467/0.5172, allocations: 0.6484 MB / 1.395 GB, free: 10.73 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006056/0.5233, allocations: 1.665 MB / 1.397 GB, free: 9.066 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005786/0.529, allocations: 2.615 MB / 1.4 GB, free: 6.445 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.008481/0.5375, allocations: 2.335 MB / 1.402 GB, free: 4.102 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01808/0.5556, allocations: 10.18 MB / 1.412 GB, free: 9.883 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.5556, allocations: 0 / 1.412 GB, free: 9.883 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5556, allocations: 0 / 1.412 GB, free: 9.883 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003746/0.556, allocations: 4 kB / 1.412 GB, free: 9.879 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01684/0.5728, allocations: 5.046 MB / 1.417 GB, free: 4.773 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5729, allocations: 8.031 kB / 1.417 GB, free: 4.766 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0071/0.58, allocations: 0.9774 MB / 1.418 GB, free: 3.785 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009515/0.5895, allocations: 2.999 MB / 1.421 GB, free: 0.7148 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005364/0.59, allocations: 353.7 kB / 1.421 GB, free: 376 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/0.5921, allocations: 460.3 kB / 1.421 GB, free: 15.91 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0217/0.6138, allocations: 7.976 MB / 1.429 GB, free: 7.52 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.6141, allocations: 23.83 kB / 1.429 GB, free: 7.496 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001656/0.6158, allocations: 207.9 kB / 1.429 GB, free: 7.293 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004718/0.6163, allocations: 316.9 kB / 1.43 GB, free: 6.98 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.6303, allocations: 5.702 MB / 1.435 GB, free: 1.262 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04224/0.6725, allocations: 21.91 MB / 1.457 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.6757, allocations: 1.552 MB / 1.458 GB, free: 9.152 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/0.6778, allocations: 1.124 MB / 1.459 GB, free: 8.031 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.6779, allocations: 13.31 kB / 1.459 GB, free: 8.016 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/0.678, allocations: 55.81 kB / 1.459 GB, free: 7.953 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 3.827e-06/0.678, allocations: 0 / 1.459 GB, free: 7.953 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01564/0.6936, allocations: 6.191 MB / 1.465 GB, free: 1.719 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.6937, allocations: 68.66 kB / 1.465 GB, free: 1.641 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.6961, allocations: 1.407 MB / 1.467 GB, free: 236 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.6962, allocations: 49.7 kB / 1.467 GB, free: 180 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/0.6979, allocations: 2.057 MB / 1.469 GB, free: 14.1 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005992/0.6985, allocations: 0.5035 MB / 1.469 GB, free: 13.59 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006437/0.6992, allocations: 343.4 kB / 1.47 GB, free: 13.25 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6993, allocations: 305.1 kB / 1.47 GB, free: 12.95 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.7008, allocations: 0.9135 MB / 1.471 GB, free: 12.04 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.7029, allocations: 1.597 MB / 1.472 GB, free: 10.13 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.7068, allocations: 2.741 MB / 1.475 GB, free: 7.074 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-05/0.7068, allocations: 4 kB / 1.475 GB, free: 7.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006938/0.7137, allocations: 3.507 MB / 1.479 GB, free: 3.516 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.7138, allocations: 16.94 kB / 1.479 GB, free: 3.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/0.7138, allocations: 20 kB / 1.479 GB, free: 3.48 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.7167, allocations: 0.9037 MB / 1.479 GB, free: 2.539 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.718, allocations: 343.4 kB / 1.48 GB, free: 2.203 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02333/0.7413, allocations: 21.48 MB / 1.501 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.7429, allocations: 108 kB / 1.501 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.743, allocations: 84 kB / 1.501 GB, free: 11.31 MB / 1.201 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002643/0.7457, allocations: 1.61 MB / 1.503 GB, free: 9.691 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004126/0.7461, allocations: 206.7 kB / 1.503 GB, free: 9.488 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005786/0.7519, allocations: 2.951 MB / 1.506 GB, free: 6.484 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.7519, allocations: 23.88 kB / 1.506 GB, free: 6.461 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.7519, allocations: 8 kB / 1.506 GB, free: 6.453 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.7519, allocations: 7.969 kB / 1.506 GB, free: 6.445 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/0.764, allocations: 5.992 MB / 1.511 GB, free: 324 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.764, allocations: 8.062 kB / 1.511 GB, free: 316 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.7648, allocations: 179.7 kB / 1.512 GB, free: 136 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002722/0.7676, allocations: 0.818 MB / 1.512 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.7677, allocations: 24 kB / 1.512 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02208/0.7897, allocations: 20.34 MB / 1.532 GB, free: 9.676 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/0.7898, allocations: 11.94 kB / 1.532 GB, free: 9.664 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/0.7955, allocations: 2.998 MB / 1.535 GB, free: 6.551 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.7967, allocations: 378.6 kB / 1.536 GB, free: 6.18 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/0.797, allocations: 35.89 kB / 1.536 GB, free: 6.145 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007711/0.7978, allocations: 71.91 kB / 1.536 GB, free: 6.074 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/0.7981, allocations: 132.6 kB / 1.536 GB, free: 5.945 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/0.7982, allocations: 39.98 kB / 1.536 GB, free: 5.906 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001295/0.7995, allocations: 0.8942 MB / 1.537 GB, free: 5.02 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7995, allocations: 0 / 1.537 GB, free: 5.02 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002874/0.8024, allocations: 0.7812 MB / 1.538 GB, free: 4.238 MB / 1.232 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0002582/0.8026, allocations: 140.2 kB / 1.538 GB, free: 4.094 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00667/0.8093, allocations: 3.921 MB / 1.542 GB, free: 24 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.8093, allocations: 0 / 1.542 GB, free: 24 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004344/0.8137, allocations: 2.667 MB / 1.544 GB, free: 13.2 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/0.8169, allocations: 0.7171 MB / 1.545 GB, free: 12.51 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.8307, allocations: 7.341 MB / 1.552 GB, free: 5.082 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003899/0.8346, allocations: 2.561 MB / 1.554 GB, free: 2.492 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001452/0.8361, allocations: 453.2 kB / 1.555 GB, free: 2.047 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.8364, allocations: 107.4 kB / 1.555 GB, free: 1.941 MB / 1.248 GB Notification: Performance of SimCode: time 9.91e-07/0.8364, allocations: 0 / 1.555 GB, free: 1.941 MB / 1.248 GB Notification: Performance of Templates: time 0.07479/0.9112, allocations: 41.74 MB / 1.596 GB, free: 8.914 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.894903018997866]