Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001873/0.001873, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.002266/0.002266, allocations: 161 kB / 22.45 MB, free: 5.375 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.834/2.834, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.173e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02499/0.02502, allocations: 19.14 MB / 1 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.03726, allocations: 6.387 MB / 1.006 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.039, allocations: 115.1 kB / 1.006 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006224/0.04522, allocations: 2.247 MB / 1.009 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.04883, allocations: 1.278 MB / 1.01 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.05225, allocations: 1.301 MB / 1.011 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006601/0.05885, allocations: 4.946 MB / 1.016 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004746/0.0636, allocations: 3.169 MB / 1.019 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004819/0.06842, allocations: 3.013 MB / 1.022 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004206/0.07262, allocations: 2.198 MB / 1.024 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009378/0.07356, allocations: 428 kB / 1.025 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.07596, allocations: 0.9514 MB / 1.026 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00211/0.07807, allocations: 1.777 MB / 1.027 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.08018, allocations: 1.341 MB / 1.029 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007915/0.08809, allocations: 6.642 MB / 1.035 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.0881, allocations: 3.938 kB / 1.035 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.897e-06/0.0881, allocations: 3.984 kB / 1.035 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.000141/0.08824, allocations: 0 / 1.035 GB, free: 4.785 MB / 0.9825 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.008634/0.09688, allocations: 3.427 MB / 1.038 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.09693, allocations: 16.03 kB / 1.038 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003809/0.1007, allocations: 0.6507 MB / 1.039 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004595/0.1053, allocations: 2.001 MB / 1.041 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.1055, allocations: 222.3 kB / 1.041 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006357/0.1062, allocations: 300.3 kB / 1.042 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009453/0.1156, allocations: 5.238 MB / 1.047 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-05/0.1157, allocations: 11.69 kB / 1.047 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/0.1161, allocations: 132 kB / 1.047 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005035/0.1166, allocations: 229.7 kB / 1.047 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006958/0.1235, allocations: 3.746 MB / 1.051 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01967/0.1432, allocations: 13.09 MB / 1.063 GB, free: 7.008 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.1451, allocations: 1.219 MB / 1.065 GB, free: 5.777 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.1466, allocations: 0.9836 MB / 1.066 GB, free: 4.793 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.345e-05/0.1467, allocations: 13 kB / 1.066 GB, free: 4.781 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.1468, allocations: 47.5 kB / 1.066 GB, free: 4.727 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.247e-06/0.1468, allocations: 0 / 1.066 GB, free: 4.727 MB / 1.014 GB Notification: Performance of matching and sorting (n=138): time 0.02569/0.1724, allocations: 8.421 MB / 1.074 GB, free: 12.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1725, allocations: 72.72 kB / 1.074 GB, free: 12.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.174, allocations: 1.066 MB / 1.075 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.1742, allocations: 45.7 kB / 1.075 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.1752, allocations: 1.346 MB / 1.076 GB, free: 9.727 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004716/0.1756, allocations: 0.4919 MB / 1.077 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005098/0.1761, allocations: 283.5 kB / 1.077 GB, free: 8.945 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1763, allocations: 305.1 kB / 1.077 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.1777, allocations: 0.9135 MB / 1.078 GB, free: 7.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.1794, allocations: 1.322 MB / 1.08 GB, free: 6.238 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/0.1829, allocations: 2.433 MB / 1.082 GB, free: 3.637 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.1829, allocations: 4 kB / 1.082 GB, free: 3.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006548/0.1894, allocations: 3.421 MB / 1.085 GB, free: 196 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.1895, allocations: 12 kB / 1.085 GB, free: 184 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.1895, allocations: 12.91 kB / 1.085 GB, free: 172 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003401/0.1929, allocations: 1.174 MB / 1.086 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009701/0.1938, allocations: 259.5 kB / 1.087 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/0.2126, allocations: 13.27 MB / 1.1 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.214, allocations: 83.98 kB / 1.1 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.2142, allocations: 63.98 kB / 1.1 GB, free: 1.02 MB / 1.045 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.002069/0.2163, allocations: 1.122 MB / 1.101 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.2166, allocations: 163 kB / 1.101 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/0.2226, allocations: 3.125 MB / 1.104 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.2226, allocations: 16 kB / 1.104 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/0.2226, allocations: 12 kB / 1.104 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.2226, allocations: 7.969 kB / 1.104 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.2326, allocations: 5.461 MB / 1.109 GB, free: 6.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.2327, allocations: 7.938 kB / 1.109 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.2333, allocations: 151.7 kB / 1.11 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003029/0.2363, allocations: 1.072 MB / 1.111 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.692e-05/0.2364, allocations: 32 kB / 1.111 GB, free: 5.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/0.2544, allocations: 12.95 MB / 1.123 GB, free: 8.457 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.2544, allocations: 7.938 kB / 1.123 GB, free: 8.449 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005675/0.2601, allocations: 3.115 MB / 1.126 GB, free: 5.254 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008153/0.2609, allocations: 342.9 kB / 1.127 GB, free: 4.918 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.2611, allocations: 28 kB / 1.127 GB, free: 4.891 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/0.2619, allocations: 83.89 kB / 1.127 GB, free: 4.809 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003483/0.2623, allocations: 128.6 kB / 1.127 GB, free: 4.684 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.661e-05/0.2624, allocations: 36 kB / 1.127 GB, free: 4.648 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001002/0.2634, allocations: 0.7059 MB / 1.128 GB, free: 3.938 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.2634, allocations: 0 / 1.128 GB, free: 3.938 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001966/0.2653, allocations: 0.6562 MB / 1.128 GB, free: 3.281 MB / 1.076 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.0002529/0.2656, allocations: 143.1 kB / 1.128 GB, free: 3.133 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005091/0.2707, allocations: 3.005 MB / 1.131 GB, free: 96 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.2707, allocations: 3.938 kB / 1.131 GB, free: 92 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.4704/0.7411, allocations: 1.874 MB / 1.133 GB, free: 179.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.7432, allocations: 475.6 kB / 1.134 GB, free: 179.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007417/0.7506, allocations: 5.506 MB / 1.139 GB, free: 177.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.7524, allocations: 1.766 MB / 1.141 GB, free: 177.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008073/0.7532, allocations: 339.7 kB / 1.141 GB, free: 177.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.7534, allocations: 83.06 kB / 1.141 GB, free: 177.5 MB / 1.076 GB Notification: Performance of SimCode: time 1.112e-06/0.7534, allocations: 0 / 1.141 GB, free: 177.5 MB / 1.076 GB Notification: Performance of Templates: time 0.05235/0.8058, allocations: 32.97 MB / 1.173 GB, free: 174.4 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.456785093992949]