Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002689/0.002689, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.00306/0.00306, allocations: 165.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.602/1.602, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.885/2.885, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.283e-05, allocations: 5.594 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05509/0.05513, allocations: 38.32 MB / 0.8238 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.07757, allocations: 11.24 MB / 0.8348 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/0.08109, allocations: 202.5 kB / 0.835 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01297/0.09406, allocations: 4.508 MB / 0.8394 GB, free: 6.441 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007037/0.1011, allocations: 2.404 MB / 0.8417 GB, free: 4.023 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00647/0.1076, allocations: 2.194 MB / 0.8439 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01411/0.1217, allocations: 9.461 MB / 0.8531 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01265/0.1343, allocations: 6.381 MB / 0.8593 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01245/0.1468, allocations: 5.836 MB / 0.865 GB, free: 11.98 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008837/0.1556, allocations: 4.478 MB / 0.8694 GB, free: 7.492 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.002598/0.1582, allocations: 0.8242 MB / 0.8702 GB, free: 6.668 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004609/0.1628, allocations: 1.517 MB / 0.8717 GB, free: 5.148 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.005309/0.1681, allocations: 3.426 MB / 0.875 GB, free: 1.715 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00611/0.1742, allocations: 2.6 MB / 0.8776 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01948/0.1937, allocations: 12.63 MB / 0.8899 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1937, allocations: 4 kB / 0.8899 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1937, allocations: 0 / 0.8899 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000376/0.1941, allocations: 0 / 0.8899 GB, free: 2.438 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01959/0.2137, allocations: 7.284 MB / 0.897 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2137, allocations: 12.03 kB / 0.897 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007615/0.2213, allocations: 1.706 MB / 0.8987 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.2316, allocations: 3.507 MB / 0.9021 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004374/0.2321, allocations: 431.7 kB / 0.9026 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.234, allocations: 0.555 MB / 0.9031 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/0.2529, allocations: 6.96 MB / 0.9099 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.2531, allocations: 23.95 kB / 0.9099 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007799/0.2539, allocations: 248.3 kB / 0.9102 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007156/0.2546, allocations: 426.9 kB / 0.9106 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00821/0.2628, allocations: 2.463 MB / 0.913 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05292/0.3157, allocations: 34.84 MB / 0.947 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/0.3198, allocations: 1.606 MB / 0.9486 GB, free: 4.547 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/0.3221, allocations: 1.008 MB / 0.9495 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.3222, allocations: 34 kB / 0.9496 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.107e-05/0.3223, allocations: 67.39 kB / 0.9496 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=209): time 4.618e-06/0.3223, allocations: 0 / 0.9496 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of matching and sorting (n=212): time 0.02335/0.3456, allocations: 6.887 MB / 0.9564 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.3457, allocations: 77.41 kB / 0.9564 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003545/0.3493, allocations: 2.371 MB / 0.9588 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.3494, allocations: 65.69 kB / 0.9588 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00242/0.3519, allocations: 2.665 MB / 0.9614 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009988/0.3529, allocations: 0.8373 MB / 0.9622 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.3541, allocations: 0.5742 MB / 0.9628 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002492/0.3544, allocations: 480.7 kB / 0.9633 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.3558, allocations: 0.6104 MB / 0.9638 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/0.3584, allocations: 1.739 MB / 0.9655 GB, free: 2.582 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004442/0.3628, allocations: 2.709 MB / 0.9682 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/0.3628, allocations: 12 kB / 0.9682 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007747/0.3706, allocations: 3.262 MB / 0.9714 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.3706, allocations: 16 kB / 0.9714 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/0.3707, allocations: 20 kB / 0.9714 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004735/0.3754, allocations: 1.321 MB / 0.9727 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.3773, allocations: 463.2 kB / 0.9732 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/0.3987, allocations: 13.49 MB / 0.9863 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.401, allocations: 143.9 kB / 0.9865 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/0.4013, allocations: 108 kB / 0.9866 GB, free: 12.1 MB / 0.948 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.00175/0.403, allocations: 483.8 kB / 0.987 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007418/0.4038, allocations: 338.5 kB / 0.9874 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006217/0.41, allocations: 2.542 MB / 0.9898 GB, free: 8.707 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002448/0.4102, allocations: 20 kB / 0.9899 GB, free: 8.688 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/0.4103, allocations: 16 kB / 0.9899 GB, free: 8.672 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/0.4103, allocations: 7.969 kB / 0.9899 GB, free: 8.664 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/0.428, allocations: 7.947 MB / 0.9976 GB, free: 0.5742 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.428, allocations: 4 kB / 0.9976 GB, free: 0.5703 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.4291, allocations: 235.6 kB / 0.9979 GB, free: 348 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004436/0.4335, allocations: 1.174 MB / 0.999 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.4337, allocations: 43.94 kB / 0.9991 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02178/0.4555, allocations: 13.42 MB / 1.012 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/0.4555, allocations: 11.92 kB / 1.012 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006786/0.4623, allocations: 2.87 MB / 1.015 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/0.4642, allocations: 0.5176 MB / 1.015 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/0.4645, allocations: 36 kB / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.4659, allocations: 119.9 kB / 1.016 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005621/0.4664, allocations: 197.2 kB / 1.016 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.4666, allocations: 52 kB / 1.016 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002174/0.4687, allocations: 1.321 MB / 1.017 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4687, allocations: 0 / 1.017 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003937/0.4727, allocations: 1.145 MB / 1.018 GB, free: 10.8 MB / 0.9792 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.0003773/0.4731, allocations: 163 kB / 1.018 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007331/0.4804, allocations: 3.541 MB / 1.022 GB, free: 7.027 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.4804, allocations: 1 kB / 1.022 GB, free: 7.027 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005002/0.4854, allocations: 2.511 MB / 1.024 GB, free: 4.441 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004548/0.4899, allocations: 0.8185 MB / 1.025 GB, free: 3.637 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/0.5091, allocations: 8.625 MB / 1.034 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004681/0.5138, allocations: 2.814 MB / 1.036 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00184/0.5156, allocations: 459.1 kB / 1.037 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/0.516, allocations: 144.5 kB / 1.037 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of SimCode: time 1.823e-06/0.516, allocations: 4 kB / 1.037 GB, free: 7.406 MB / 0.9948 GB Notification: Performance of Templates: time 0.4044/0.9204, allocations: 52.49 MB / 1.088 GB, free: 275.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.17017299903091]