Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002027/0.002027, allocations: 89.27 kB / 19.43 MB, free: 1.973 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.00264/0.00264, allocations: 171.8 kB / 22.75 MB, free: 4.785 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.53/1.53, allocations: 177.1 MB / 203.1 MB, free: 9.047 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.172/3.172, allocations: 428.5 MB / 0.672 GB, free: 9.574 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8763 GB, free: 2 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.7e-05, allocations: 2.312 kB / 0.8763 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01549/0.01552, allocations: 9.487 MB / 0.8855 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006583/0.0221, allocations: 3.141 MB / 0.8886 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005608/0.02266, allocations: 47.69 kB / 0.8887 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.02446, allocations: 0.6022 MB / 0.8892 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.02607, allocations: 0.8004 MB / 0.89 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.02772, allocations: 0.7484 MB / 0.8908 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003616/0.03133, allocations: 3.046 MB / 0.8937 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00216/0.03349, allocations: 1.419 MB / 0.8951 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.03606, allocations: 1.731 MB / 0.8968 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.03838, allocations: 1.567 MB / 0.8983 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003957/0.03877, allocations: 236 kB / 0.8986 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009445/0.03972, allocations: 487.2 kB / 0.899 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.04098, allocations: 1.146 MB / 0.9001 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.04211, allocations: 0.7836 MB / 0.9009 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004354/0.04647, allocations: 3.79 MB / 0.9046 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.04647, allocations: 7.938 kB / 0.9046 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.04647, allocations: 0 / 0.9046 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.282e-05/0.04653, allocations: 0 / 0.9046 GB, free: 4.863 MB / 0.8575 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.004311/0.05084, allocations: 2.103 MB / 0.9067 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.05087, allocations: 12.03 kB / 0.9067 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.06105, allocations: 1.732 MB / 0.9084 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/0.06379, allocations: 1.308 MB / 0.9097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.0639, allocations: 119.3 kB / 0.9098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003635/0.06427, allocations: 144.3 kB / 0.9099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005988/0.07025, allocations: 3.516 MB / 0.9133 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.07029, allocations: 4.125 kB / 0.9133 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.07054, allocations: 64.34 kB / 0.9134 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002875/0.07083, allocations: 207.1 kB / 0.9136 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005455/0.07629, allocations: 3.12 MB / 0.9166 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.09342, allocations: 9.865 MB / 0.9263 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.09686, allocations: 1.6 MB / 0.9278 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.09913, allocations: 1.335 MB / 0.9291 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.09924, allocations: 17 kB / 0.9292 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.09928, allocations: 47.56 kB / 0.9292 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 3.597e-06/0.09928, allocations: 0 / 0.9292 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of matching and sorting (n=183): time 0.146/0.2453, allocations: 36.24 MB / 0.9646 GB, free: 6.992 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.2454, allocations: 69.41 kB / 0.9647 GB, free: 6.914 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.2471, allocations: 1.044 MB / 0.9657 GB, free: 5.859 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003684/0.2475, allocations: 49.7 kB / 0.9657 GB, free: 5.805 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006863/0.2482, allocations: 0.8092 MB / 0.9665 GB, free: 4.988 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007574/0.249, allocations: 0.6467 MB / 0.9672 GB, free: 4.336 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008208/0.2498, allocations: 359.5 kB / 0.9675 GB, free: 3.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2499, allocations: 301.1 kB / 0.9678 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/0.253, allocations: 1.928 MB / 0.9697 GB, free: 1.754 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/0.2564, allocations: 2.293 MB / 0.9719 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006584/0.263, allocations: 4.387 MB / 0.9762 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.263, allocations: 4 kB / 0.9762 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02161/0.2846, allocations: 8.956 MB / 0.9849 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.2846, allocations: 14.69 kB / 0.985 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.2847, allocations: 8 kB / 0.985 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01955/0.3042, allocations: 5.176 MB / 0.99 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/0.3051, allocations: 191.7 kB / 0.9902 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06338/0.3685, allocations: 37.94 MB / 1.027 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.3704, allocations: 99.89 kB / 1.027 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.3706, allocations: 68 kB / 1.027 GB, free: 5.906 MB / 0.9825 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.00153/0.3721, allocations: 0.7979 MB / 1.028 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/0.3727, allocations: 199.1 kB / 1.028 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02164/0.3944, allocations: 8.757 MB / 1.037 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/0.3944, allocations: 20 kB / 1.037 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.959e-05/0.3945, allocations: 28 kB / 1.037 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.3945, allocations: 11.95 kB / 1.037 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/0.4225, allocations: 12.39 MB / 1.049 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/0.4225, allocations: 8.094 kB / 1.049 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.423, allocations: 119.8 kB / 1.049 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01955/0.4426, allocations: 5.015 MB / 1.054 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002816/0.4429, allocations: 35.98 kB / 1.054 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06149/0.5044, allocations: 35.88 MB / 1.089 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5044, allocations: 4 kB / 1.089 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02107/0.5254, allocations: 8.514 MB / 1.098 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/0.527, allocations: 0.577 MB / 1.098 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/0.5273, allocations: 36 kB / 1.098 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.5285, allocations: 91.83 kB / 1.098 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008239/0.5293, allocations: 169.6 kB / 1.098 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/0.5295, allocations: 48 kB / 1.098 GB, free: 12.53 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001043/0.5305, allocations: 0.718 MB / 1.099 GB, free: 11.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.5305, allocations: 0 / 1.099 GB, free: 11.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003079/0.5336, allocations: 1.008 MB / 1.1 GB, free: 10.79 MB / 1.061 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.0003073/0.5339, allocations: 139.1 kB / 1.1 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01065/0.5446, allocations: 5.742 MB / 1.106 GB, free: 4.844 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5446, allocations: 192 / 1.106 GB, free: 4.844 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00825/0.5528, allocations: 3.777 MB / 1.11 GB, free: 1.016 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.5543, allocations: 248.6 kB / 1.11 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008709/0.563, allocations: 5.217 MB / 1.115 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/0.5647, allocations: 1.267 MB / 1.116 GB, free: 10.19 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008059/0.5655, allocations: 347.2 kB / 1.116 GB, free: 9.844 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.5657, allocations: 72.48 kB / 1.116 GB, free: 9.773 MB / 1.076 GB Notification: Performance of SimCode: time 1.022e-06/0.5657, allocations: 0 / 1.116 GB, free: 9.773 MB / 1.076 GB Notification: Performance of Templates: time 0.4106/0.9763, allocations: 64.12 MB / 1.179 GB, free: 262.7 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.070503551512957]