Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 101.8 kB / 18.83 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002199/0.002199, allocations: 193.5 kB / 22.1 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 250.8 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.156/3.156, allocations: 495.8 MB / 0.783 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.97 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2978, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04545/0.3433, allocations: 36.51 MB / 1.342 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.3617, allocations: 10.26 MB / 1.352 GB, free: 2.906 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/0.365, allocations: 190.6 kB / 1.353 GB, free: 2.719 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.3756, allocations: 3.989 MB / 1.357 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005634/0.3812, allocations: 2.142 MB / 1.359 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.3862, allocations: 2.037 MB / 1.361 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01019/0.3964, allocations: 7.968 MB / 1.368 GB, free: 2.543 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007428/0.4038, allocations: 4.911 MB / 1.373 GB, free: 13.51 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005265/0.4091, allocations: 3.463 MB / 1.377 GB, free: 10.04 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006115/0.4152, allocations: 3.937 MB / 1.38 GB, free: 6.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001382/0.4166, allocations: 0.6797 MB / 1.381 GB, free: 5.41 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/0.4196, allocations: 1.369 MB / 1.382 GB, free: 4.039 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003202/0.4229, allocations: 2.685 MB / 1.385 GB, free: 1.348 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005064/0.4279, allocations: 3.104 MB / 1.388 GB, free: 14.23 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.4412, allocations: 10.4 MB / 1.398 GB, free: 3.797 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4412, allocations: 4 kB / 1.398 GB, free: 3.793 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4412, allocations: 0 / 1.398 GB, free: 3.793 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002343/0.4415, allocations: 0 / 1.398 GB, free: 3.793 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01217/0.4536, allocations: 5.463 MB / 1.404 GB, free: 14.27 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4537, allocations: 8.031 kB / 1.404 GB, free: 14.26 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004964/0.4586, allocations: 0.9812 MB / 1.405 GB, free: 13.28 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006233/0.4649, allocations: 3.128 MB / 1.408 GB, free: 10.08 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003223/0.4652, allocations: 365.9 kB / 1.408 GB, free: 9.723 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000929/0.4661, allocations: 468.3 kB / 1.408 GB, free: 9.266 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/0.4871, allocations: 7.906 MB / 1.416 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.4873, allocations: 15.88 kB / 1.416 GB, free: 0.9805 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009277/0.4882, allocations: 208 kB / 1.416 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000789/0.489, allocations: 373.1 kB / 1.417 GB, free: 420 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.506, allocations: 5.933 MB / 1.422 GB, free: 10.46 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05101/0.557, allocations: 35.59 MB / 1.457 GB, free: 3.633 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/0.5611, allocations: 1.998 MB / 1.459 GB, free: 1.625 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.5634, allocations: 1.329 MB / 1.46 GB, free: 300 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.5635, allocations: 17.31 kB / 1.46 GB, free: 280 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.351e-05/0.5636, allocations: 55.81 kB / 1.461 GB, free: 216 kB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 3.386e-06/0.5636, allocations: 0 / 1.461 GB, free: 216 kB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01595/0.5795, allocations: 6.667 MB / 1.467 GB, free: 9.5 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.5796, allocations: 68.72 kB / 1.467 GB, free: 9.422 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.5829, allocations: 1.864 MB / 1.469 GB, free: 7.531 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002645/0.5831, allocations: 57.7 kB / 1.469 GB, free: 7.469 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/0.585, allocations: 2.184 MB / 1.471 GB, free: 5.266 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007353/0.5857, allocations: 0.5849 MB / 1.472 GB, free: 4.676 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008204/0.5865, allocations: 400 kB / 1.472 GB, free: 4.277 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5867, allocations: 301.1 kB / 1.472 GB, free: 3.98 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.5885, allocations: 1.066 MB / 1.473 GB, free: 2.91 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.591, allocations: 1.768 MB / 1.475 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/0.5956, allocations: 3.041 MB / 1.478 GB, free: 13.47 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.272e-05/0.5956, allocations: 8 kB / 1.478 GB, free: 13.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007635/0.6033, allocations: 3.918 MB / 1.482 GB, free: 9.496 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.6033, allocations: 12.94 kB / 1.482 GB, free: 9.484 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.385e-05/0.6033, allocations: 24 kB / 1.482 GB, free: 9.461 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/0.6062, allocations: 0.9273 MB / 1.483 GB, free: 8.496 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.608, allocations: 427.2 kB / 1.483 GB, free: 8.078 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/0.6327, allocations: 21.55 MB / 1.504 GB, free: 1.152 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.6349, allocations: 119.9 kB / 1.504 GB, free: 1.035 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003851/0.6353, allocations: 92 kB / 1.505 GB, free: 0.9453 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003186/0.6385, allocations: 1.657 MB / 1.506 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007233/0.6392, allocations: 270.4 kB / 1.506 GB, free: 15.01 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006567/0.6458, allocations: 3.236 MB / 1.51 GB, free: 11.72 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.6458, allocations: 12 kB / 1.51 GB, free: 11.71 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.54e-05/0.6458, allocations: 16 kB / 1.51 GB, free: 11.7 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.6458, allocations: 7.969 kB / 1.51 GB, free: 11.69 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/0.662, allocations: 7.501 MB / 1.517 GB, free: 4.043 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.662, allocations: 4 kB / 1.517 GB, free: 4.039 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6631, allocations: 215.6 kB / 1.517 GB, free: 3.828 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002679/0.6657, allocations: 0.8887 MB / 1.518 GB, free: 2.902 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.6659, allocations: 28 kB / 1.518 GB, free: 2.875 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02492/0.6908, allocations: 21.52 MB / 1.539 GB, free: 11.97 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.6908, allocations: 7.938 kB / 1.539 GB, free: 11.96 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006693/0.6975, allocations: 3.365 MB / 1.542 GB, free: 8.484 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.6988, allocations: 470.2 kB / 1.543 GB, free: 8.023 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005344/0.6994, allocations: 43.92 kB / 1.543 GB, free: 7.98 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.7007, allocations: 91.83 kB / 1.543 GB, free: 7.891 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004242/0.7011, allocations: 148.9 kB / 1.543 GB, free: 7.742 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.7012, allocations: 44 kB / 1.543 GB, free: 7.699 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00213/0.7034, allocations: 1.229 MB / 1.544 GB, free: 6.457 MB / 1.248 GB Notification: Performance of sort global known variables: time 6e-08/0.7034, allocations: 0 / 1.544 GB, free: 6.457 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003121/0.7065, allocations: 0.9062 MB / 1.545 GB, free: 5.551 MB / 1.248 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003238/0.7068, allocations: 151.8 kB / 1.545 GB, free: 5.395 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007225/0.714, allocations: 4.295 MB / 1.55 GB, free: 0.9492 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.7141, allocations: 256 / 1.55 GB, free: 0.9492 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004715/0.7188, allocations: 2.909 MB / 1.552 GB, free: 13.88 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004164/0.7229, allocations: 0.8374 MB / 1.553 GB, free: 13.06 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/0.7388, allocations: 7.819 MB / 1.561 GB, free: 5.145 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004894/0.7437, allocations: 3.209 MB / 1.564 GB, free: 1.902 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001966/0.7457, allocations: 0.5254 MB / 1.564 GB, free: 1.371 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.7462, allocations: 143.4 kB / 1.565 GB, free: 1.23 MB / 1.264 GB Notification: Performance of SimCode: time 1.233e-06/0.7462, allocations: 0 / 1.565 GB, free: 1.23 MB / 1.264 GB Notification: Performance of Templates: time 0.08291/0.8291, allocations: 43.55 MB / 1.607 GB, free: 6.293 MB / 1.311 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 11.11519234161824]