Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001644/0.001644, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.002045/0.002045, allocations: 214.8 kB / 23.04 MB, free: 4.863 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.217/3.217, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [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.00201/0.00201, allocations: 68.31 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3754, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01363/0.389, allocations: 9.637 MB / 1.337 GB, free: 7.297 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006165/0.3952, allocations: 3.154 MB / 1.34 GB, free: 4.133 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007154/0.3959, allocations: 47.62 kB / 1.34 GB, free: 4.086 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.3976, allocations: 0.6063 MB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.3994, allocations: 0.7779 MB / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.4011, allocations: 0.7408 MB / 1.342 GB, free: 1.953 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003538/0.4046, allocations: 2.992 MB / 1.345 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/0.4068, allocations: 1.419 MB / 1.346 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.4089, allocations: 1.285 MB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.4117, allocations: 1.632 MB / 1.349 GB, free: 10.56 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004059/0.4121, allocations: 236 kB / 1.349 GB, free: 10.33 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.4132, allocations: 483.3 kB / 1.35 GB, free: 9.855 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.4144, allocations: 1.091 MB / 1.351 GB, free: 8.762 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.4155, allocations: 0.9143 MB / 1.352 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004344/0.4199, allocations: 3.722 MB / 1.355 GB, free: 4.109 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4199, allocations: 4 kB / 1.355 GB, free: 4.105 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4199, allocations: 0 / 1.355 GB, free: 4.105 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.852e-05/0.42, allocations: 0 / 1.355 GB, free: 4.105 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004404/0.4244, allocations: 2.115 MB / 1.357 GB, free: 1.949 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.4244, allocations: 8.031 kB / 1.357 GB, free: 1.941 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009331/0.4337, allocations: 1.361 MB / 1.359 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.4369, allocations: 1.269 MB / 1.36 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.437, allocations: 115.4 kB / 1.36 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/0.4373, allocations: 148.3 kB / 1.36 GB, free: 15.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006229/0.4436, allocations: 3.524 MB / 1.364 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/0.4436, allocations: 3.938 kB / 1.364 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/0.4438, allocations: 63.97 kB / 1.364 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/0.4441, allocations: 207.1 kB / 1.364 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005453/0.4496, allocations: 3.116 MB / 1.367 GB, free: 7.996 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01757/0.4672, allocations: 9.833 MB / 1.376 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.4698, allocations: 1.612 MB / 1.378 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/0.472, allocations: 1.331 MB / 1.379 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.923e-05/0.472, allocations: 13 kB / 1.379 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4721, allocations: 39.56 kB / 1.379 GB, free: 10.96 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 3.837e-06/0.4721, allocations: 0 / 1.379 GB, free: 10.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1552/0.6273, allocations: 36.18 MB / 1.415 GB, free: 6.727 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.6274, allocations: 69.41 kB / 1.415 GB, free: 6.645 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.6291, allocations: 1.052 MB / 1.416 GB, free: 5.586 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000413/0.6295, allocations: 53.7 kB / 1.416 GB, free: 5.527 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007193/0.6302, allocations: 0.813 MB / 1.417 GB, free: 4.707 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007898/0.631, allocations: 0.6546 MB / 1.417 GB, free: 4.047 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007987/0.6318, allocations: 359.5 kB / 1.418 GB, free: 3.688 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.632, allocations: 305.1 kB / 1.418 GB, free: 3.387 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/0.635, allocations: 1.928 MB / 1.42 GB, free: 1.457 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003327/0.6383, allocations: 2.289 MB / 1.422 GB, free: 15.04 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006416/0.6447, allocations: 4.395 MB / 1.426 GB, free: 10.53 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.6447, allocations: 0 / 1.426 GB, free: 10.53 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02207/0.6668, allocations: 8.862 MB / 1.435 GB, free: 1.637 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 7.004e-05/0.6668, allocations: 8 kB / 1.435 GB, free: 1.629 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/0.6669, allocations: 19.97 kB / 1.435 GB, free: 1.609 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01871/0.6856, allocations: 4.982 MB / 1.44 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009946/0.6866, allocations: 187.7 kB / 1.44 GB, free: 12.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06416/0.7507, allocations: 37.82 MB / 1.477 GB, free: 6.195 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.7531, allocations: 103.8 kB / 1.477 GB, free: 6.094 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.7533, allocations: 64 kB / 1.477 GB, free: 6.031 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001511/0.7548, allocations: 0.7979 MB / 1.478 GB, free: 5.223 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.7551, allocations: 143.1 kB / 1.478 GB, free: 5.082 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/0.7774, allocations: 8.733 MB / 1.487 GB, free: 12.31 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/0.7775, allocations: 27.88 kB / 1.487 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000101/0.7776, allocations: 28 kB / 1.487 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-05/0.7776, allocations: 7.969 kB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/0.8061, allocations: 12.4 MB / 1.499 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.8062, allocations: 8.062 kB / 1.499 GB, free: 15.72 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.8067, allocations: 123.8 kB / 1.499 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01796/0.8247, allocations: 4.824 MB / 1.504 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003976/0.8251, allocations: 39.94 kB / 1.504 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06058/0.8857, allocations: 35.77 MB / 1.539 GB, free: 6.527 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.8857, allocations: 4.469 kB / 1.539 GB, free: 6.523 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02112/0.9068, allocations: 8.452 MB / 1.547 GB, free: 13.98 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/0.9085, allocations: 0.5731 MB / 1.547 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.9087, allocations: 39.88 kB / 1.547 GB, free: 13.37 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.9101, allocations: 87.89 kB / 1.548 GB, free: 13.29 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000951/0.911, allocations: 173.5 kB / 1.548 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.9112, allocations: 51.98 kB / 1.548 GB, free: 13.06 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001108/0.9123, allocations: 0.7141 MB / 1.548 GB, free: 12.34 MB / 1.248 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9123, allocations: 0 / 1.548 GB, free: 12.34 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003513/0.9158, allocations: 1.008 MB / 1.549 GB, free: 11.33 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000347/0.9162, allocations: 139.1 kB / 1.55 GB, free: 11.18 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01078/0.9269, allocations: 5.751 MB / 1.555 GB, free: 5.375 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/0.927, allocations: 4 kB / 1.555 GB, free: 5.371 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.008662/0.9356, allocations: 3.798 MB / 1.559 GB, free: 1.523 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.9372, allocations: 227.7 kB / 1.559 GB, free: 1.305 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009513/0.9467, allocations: 5.461 MB / 1.564 GB, free: 11.77 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.9486, allocations: 1.31 MB / 1.566 GB, free: 10.42 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.9489, allocations: 63.44 kB / 1.566 GB, free: 10.36 MB / 1.264 GB Notification: Performance of SimCode: time 1.483e-06/0.9489, allocations: 0 / 1.566 GB, free: 10.36 MB / 1.264 GB Notification: Performance of Templates: time 0.7851/1.734, allocations: 70.1 MB / 1.634 GB, free: 258.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 17.042687102220953]