Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.00136/0.00136, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001524/0.001524, allocations: 212.2 kB / 23 MB, free: 4.977 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.237/3.237, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.002111/0.002111, allocations: 61 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3458, allocations: 176.1 MB / 1.327 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05099/0.3968, allocations: 39.12 MB / 1.365 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02922/0.426, allocations: 15.32 MB / 1.38 GB, free: 10.53 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005485/0.4315, allocations: 250.1 kB / 1.381 GB, free: 10.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0145/0.446, allocations: 4.486 MB / 1.385 GB, free: 5.785 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009823/0.4559, allocations: 2.935 MB / 1.388 GB, free: 2.836 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.009205/0.4651, allocations: 3.188 MB / 1.391 GB, free: 15.65 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01913/0.4842, allocations: 11.42 MB / 1.402 GB, free: 4.188 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01358/0.4978, allocations: 6.772 MB / 1.409 GB, free: 13.29 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/0.5082, allocations: 4.993 MB / 1.414 GB, free: 8.281 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.5194, allocations: 5.752 MB / 1.419 GB, free: 2.512 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.003731/0.5232, allocations: 0.9492 MB / 1.42 GB, free: 1.562 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006934/0.5301, allocations: 1.919 MB / 1.422 GB, free: 15.64 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.007025/0.5371, allocations: 3.78 MB / 1.426 GB, free: 11.85 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.008906/0.546, allocations: 3.51 MB / 1.429 GB, free: 8.328 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02039/0.5664, allocations: 14.4 MB / 1.443 GB, free: 9.887 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.5664, allocations: 0 / 1.443 GB, free: 9.887 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5664, allocations: 0 / 1.443 GB, free: 9.887 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004366/0.5669, allocations: 0 / 1.443 GB, free: 9.887 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02464/0.5915, allocations: 7.707 MB / 1.451 GB, free: 2.105 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5916, allocations: 8.031 kB / 1.451 GB, free: 2.098 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/0.6032, allocations: 1.557 MB / 1.452 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/0.6154, allocations: 4.394 MB / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005573/0.616, allocations: 456.5 kB / 1.457 GB, free: 11.61 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00299/0.619, allocations: 0.594 MB / 1.457 GB, free: 11.01 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02692/0.6459, allocations: 11.59 MB / 1.469 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002157/0.6461, allocations: 35.72 kB / 1.469 GB, free: 14.79 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/0.6474, allocations: 271.9 kB / 1.469 GB, free: 14.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002685/0.6501, allocations: 0.769 MB / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.6678, allocations: 8.541 MB / 1.478 GB, free: 5.184 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06008/0.7279, allocations: 30.47 MB / 1.508 GB, free: 6.059 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006579/0.7345, allocations: 3.962 MB / 1.512 GB, free: 2.086 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005665/0.7401, allocations: 3.373 MB / 1.515 GB, free: 14.7 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.7404, allocations: 34.78 kB / 1.515 GB, free: 14.67 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.916e-05/0.7405, allocations: 77.28 kB / 1.515 GB, free: 14.58 MB / 1.217 GB Notification: Performance of pre-optimization done (n=353): time 6.412e-06/0.7405, allocations: 0 / 1.515 GB, free: 14.58 MB / 1.217 GB Notification: Performance of matching and sorting (n=578): time 1.388/2.129, allocations: 121.1 MB / 1.633 GB, free: 246.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/2.129, allocations: 114.4 kB / 1.634 GB, free: 246.2 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006201/2.135, allocations: 2.511 MB / 1.636 GB, free: 245.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001666/2.137, allocations: 118.5 kB / 1.636 GB, free: 245.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002288/2.139, allocations: 2.766 MB / 1.639 GB, free: 243.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.00317/2.142, allocations: 2.047 MB / 1.641 GB, free: 242 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003196/2.145, allocations: 0.9323 MB / 1.642 GB, free: 241.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/2.145, allocations: 305.1 kB / 1.642 GB, free: 241.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008366/2.154, allocations: 4.082 MB / 1.646 GB, free: 239.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/2.164, allocations: 5.011 MB / 1.651 GB, free: 236.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0211/2.185, allocations: 9.85 MB / 1.661 GB, free: 231.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.079e-05/2.185, allocations: 7.812 kB / 1.661 GB, free: 231.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03787/2.223, allocations: 16.71 MB / 1.677 GB, free: 221.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/2.223, allocations: 16 kB / 1.677 GB, free: 221.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/2.223, allocations: 26.2 kB / 1.677 GB, free: 221.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03037/2.254, allocations: 9.073 MB / 1.686 GB, free: 212.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/2.256, allocations: 0.5226 MB / 1.686 GB, free: 211.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08842/2.344, allocations: 74.24 MB / 1.759 GB, free: 136.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/2.35, allocations: 283.7 kB / 1.759 GB, free: 136 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009139/2.351, allocations: 192 kB / 1.759 GB, free: 135.8 MB / 1.295 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004918/2.356, allocations: 2.423 MB / 1.762 GB, free: 133.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/2.357, allocations: 477.1 kB / 1.762 GB, free: 132.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03435/2.391, allocations: 16.53 MB / 1.778 GB, free: 116.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001189/2.391, allocations: 27.89 kB / 1.778 GB, free: 116.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/2.391, allocations: 5.219 kB / 1.778 GB, free: 116.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004458/2.396, allocations: 1.356 MB / 1.78 GB, free: 114.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/2.397, allocations: 104.6 kB / 1.78 GB, free: 114.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003618/2.401, allocations: 239.7 kB / 1.78 GB, free: 114.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001501/2.402, allocations: 0.7721 MB / 1.781 GB, free: 113.7 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04629/2.449, allocations: 17.65 MB / 1.798 GB, free: 96.14 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02987/2.478, allocations: 14.65 MB / 1.812 GB, free: 81.35 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008496/2.487, allocations: 4.751 MB / 1.817 GB, free: 76.57 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002484/2.489, allocations: 1.625 MB / 1.818 GB, free: 74.95 MB / 1.295 GB Notification: Performance of Backend: time 3.1e-07/2.489, allocations: 0 / 1.818 GB, free: 74.95 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02525/2.515, allocations: 11.03 MB / 1.829 GB, free: 63.8 MB / 1.295 GB Notification: Performance of SimCode: time 0.027/2.542, allocations: 18.18 MB / 1.847 GB, free: 45.63 MB / 1.295 GB Notification: Performance of Templates: time 0.2366/2.778, allocations: 155.4 MB / 1.999 GB, free: 4.016 MB / 1.404 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 14.734395327999664]