Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.002373/0.002373, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.00266/0.00266, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.899/2.899, allocations: 359 MB / 0.6048 GB, free: 10.96 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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.998e-05, allocations: 6.516 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.03047/0.0305, allocations: 20.45 MB / 0.8064 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.04439, allocations: 6.59 MB / 0.8128 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.04634, allocations: 111.2 kB / 0.8129 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.007134/0.05348, allocations: 2.321 MB / 0.8152 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004076/0.05755, allocations: 1.274 MB / 0.8164 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.06156, allocations: 1.299 MB / 0.8177 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.007575/0.06914, allocations: 4.943 MB / 0.8225 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006159/0.0753, allocations: 3.166 MB / 0.8256 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006134/0.08143, allocations: 3.044 MB / 0.8286 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0047/0.08613, allocations: 2.338 MB / 0.8309 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.08737, allocations: 432 kB / 0.8313 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.09025, allocations: 0.9553 MB / 0.8322 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003009/0.09326, allocations: 1.816 MB / 0.834 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00267/0.09593, allocations: 1.353 MB / 0.8353 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.008928/0.1049, allocations: 6.681 MB / 0.8418 GB, free: 3.887 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1049, allocations: 0 / 0.8418 GB, free: 3.887 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1049, allocations: 0 / 0.8418 GB, free: 3.887 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001668/0.105, allocations: 0 / 0.8418 GB, free: 3.887 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009479/0.1145, allocations: 3.981 MB / 0.8457 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1145, allocations: 8.031 kB / 0.8457 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/0.1188, allocations: 1.032 MB / 0.8467 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005033/0.1238, allocations: 1.953 MB / 0.8486 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/0.1241, allocations: 222.3 kB / 0.8489 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007951/0.1248, allocations: 300.3 kB / 0.8491 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007173/0.132, allocations: 3.507 MB / 0.8526 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.613e-05/0.1321, allocations: 20.02 kB / 0.8526 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003337/0.1324, allocations: 135.9 kB / 0.8527 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005002/0.1329, allocations: 225.7 kB / 0.8529 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003856/0.1368, allocations: 1.31 MB / 0.8542 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02624/0.163, allocations: 17.83 MB / 0.8716 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.1647, allocations: 0.6528 MB / 0.8723 GB, free: 3.695 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.1659, allocations: 490.4 kB / 0.8727 GB, free: 3.215 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.166, allocations: 28.98 kB / 0.8728 GB, free: 3.184 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/0.1661, allocations: 50.39 kB / 0.8728 GB, free: 3.125 MB / 0.823 GB Notification: Performance of pre-optimization done (n=107): time 4.188e-06/0.1661, allocations: 0 / 0.8728 GB, free: 3.125 MB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.01678/0.1828, allocations: 4.803 MB / 0.8775 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.1829, allocations: 68.72 kB / 0.8776 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.1851, allocations: 1.352 MB / 0.8789 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.1852, allocations: 45.7 kB / 0.8789 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/0.1865, allocations: 1.474 MB / 0.8804 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006294/0.1872, allocations: 0.5426 MB / 0.8809 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000676/0.1879, allocations: 361.1 kB / 0.8812 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002422/0.1881, allocations: 476.8 kB / 0.8817 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009831/0.1891, allocations: 419.8 kB / 0.8821 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.1907, allocations: 1.045 MB / 0.8831 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/0.1937, allocations: 1.648 MB / 0.8847 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.1937, allocations: 4 kB / 0.8847 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005907/0.1996, allocations: 2.239 MB / 0.8869 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.1997, allocations: 15.94 kB / 0.8869 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.1997, allocations: 12 kB / 0.8869 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/0.2039, allocations: 1.004 MB / 0.8879 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.205, allocations: 255.6 kB / 0.8882 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/0.2221, allocations: 10.04 MB / 0.898 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.2234, allocations: 95.78 kB / 0.8981 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.2236, allocations: 64 kB / 0.8981 GB, free: 8.277 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001076/0.2247, allocations: 340.2 kB / 0.8984 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/0.2252, allocations: 203.1 kB / 0.8986 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005368/0.2305, allocations: 1.888 MB / 0.9005 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.2305, allocations: 12 kB / 0.9005 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.71e-05/0.2306, allocations: 12 kB / 0.9005 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.2306, allocations: 7.969 kB / 0.9005 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.243, allocations: 5.021 MB / 0.9054 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.243, allocations: 7.938 kB / 0.9054 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/0.2437, allocations: 147.8 kB / 0.9056 GB, free: 492 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003764/0.2474, allocations: 0.9173 MB / 0.9065 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.2476, allocations: 32 kB / 0.9065 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/0.2641, allocations: 9.931 MB / 0.9162 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/0.2641, allocations: 7.938 kB / 0.9162 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/0.2695, allocations: 2.113 MB / 0.9183 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.2706, allocations: 326.8 kB / 0.9186 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/0.2709, allocations: 28 kB / 0.9186 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.2721, allocations: 87.89 kB / 0.9187 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004297/0.2725, allocations: 132.6 kB / 0.9188 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.2727, allocations: 40 kB / 0.9188 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001431/0.2741, allocations: 0.7684 MB / 0.9196 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.2741, allocations: 4 kB / 0.9196 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002451/0.2765, allocations: 0.6641 MB / 0.9203 GB, free: 0.9609 MB / 0.8698 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003075/0.2768, allocations: 149.1 kB / 0.9204 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005058/0.2819, allocations: 2.381 MB / 0.9227 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.2819, allocations: 4.75 kB / 0.9227 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003414/0.2853, allocations: 1.739 MB / 0.9244 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.288, allocations: 474 kB / 0.9249 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.3003, allocations: 4.92 MB / 0.9297 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/0.3033, allocations: 1.585 MB / 0.9312 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001128/0.3045, allocations: 293.3 kB / 0.9315 GB, free: 5.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.3048, allocations: 84.5 kB / 0.9316 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of SimCode: time 1.673e-06/0.3048, allocations: 0 / 0.9316 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of Templates: time 0.0662/0.371, allocations: 33.46 MB / 0.9643 GB, free: 4.262 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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: 8.937283629085869]