Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001034/0.001034, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.001184/0.001184, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.9005/0.9005, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.765/1.765, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.273e-05/3.486e-05, allocations: 5.375 kB / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02262/0.02266, allocations: 30.82 MB / 1.012 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.03569, allocations: 10.14 MB / 1.022 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.03866, allocations: 194.6 kB / 1.022 GB, free: 8.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.005458/0.04411, allocations: 3.752 MB / 1.026 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.005183/0.0493, allocations: 1.993 MB / 1.028 GB, free: 3.004 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.004907/0.0542, allocations: 2.16 MB / 1.03 GB, free: 0.8438 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.007905/0.06211, allocations: 7.469 MB / 1.037 GB, free: 9.355 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006551/0.06866, allocations: 5.12 MB / 1.042 GB, free: 4.109 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.521/0.5897, allocations: 4.593 MB / 1.047 GB, free: 58.18 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005035/0.5947, allocations: 3.228 MB / 1.05 GB, free: 58.18 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.002237/0.5969, allocations: 0.6436 MB / 1.051 GB, free: 58.18 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/0.6017, allocations: 1.679 MB / 1.052 GB, free: 58.18 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.004621/0.6064, allocations: 2.724 MB / 1.055 GB, free: 58.18 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.6097, allocations: 2.011 MB / 1.057 GB, free: 58.18 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.009271/0.6189, allocations: 10.32 MB / 1.067 GB, free: 57.83 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.6189, allocations: 2.812 kB / 1.067 GB, free: 57.83 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6189, allocations: 2.406 kB / 1.067 GB, free: 57.83 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003025/0.6192, allocations: 0 / 1.067 GB, free: 57.83 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01063/0.6299, allocations: 5.001 MB / 1.072 GB, free: 55.89 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.6299, allocations: 8.094 kB / 1.072 GB, free: 55.89 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.6333, allocations: 0.9835 MB / 1.073 GB, free: 55.62 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005044/0.6383, allocations: 3.002 MB / 1.076 GB, free: 54.99 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.6385, allocations: 351.1 kB / 1.076 GB, free: 54.98 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/0.6396, allocations: 462.9 kB / 1.077 GB, free: 54.97 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.656, allocations: 7.968 MB / 1.084 GB, free: 52.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.6561, allocations: 26.67 kB / 1.084 GB, free: 52.03 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004727/0.6566, allocations: 198.1 kB / 1.085 GB, free: 51.89 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003198/0.6569, allocations: 317.7 kB / 1.085 GB, free: 51.85 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.6684, allocations: 5.704 MB / 1.09 GB, free: 49.95 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/0.6963, allocations: 21.89 MB / 1.112 GB, free: 35.11 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.6983, allocations: 1.548 MB / 1.113 GB, free: 34.52 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.6996, allocations: 1.128 MB / 1.114 GB, free: 34.09 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.744e-05/0.6996, allocations: 18.77 kB / 1.114 GB, free: 34.08 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.6997, allocations: 45.69 kB / 1.115 GB, free: 34.04 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=133): time 3.808e-06/0.6997, allocations: 0 / 1.115 GB, free: 34.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=136): time 0.01019/0.7099, allocations: 6.193 MB / 1.121 GB, free: 31.43 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.7099, allocations: 70.09 kB / 1.121 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.7117, allocations: 1.406 MB / 1.122 GB, free: 30.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.7118, allocations: 46.92 kB / 1.122 GB, free: 30.75 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009043/0.7127, allocations: 2.061 MB / 1.124 GB, free: 29.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/0.7131, allocations: 498.5 kB / 1.125 GB, free: 28.81 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.7134, allocations: 345.7 kB / 1.125 GB, free: 28.64 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.22e-05/0.7135, allocations: 311 kB / 1.125 GB, free: 28.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.7146, allocations: 0.9108 MB / 1.126 GB, free: 28 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.7161, allocations: 1.592 MB / 1.128 GB, free: 26.81 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/0.7189, allocations: 2.732 MB / 1.13 GB, free: 25.11 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/0.7189, allocations: 9.234 kB / 1.13 GB, free: 25.11 MB / 0.9948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004533/0.7235, allocations: 3.508 MB / 1.134 GB, free: 23.81 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.7235, allocations: 13.75 kB / 1.134 GB, free: 23.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.7235, allocations: 22.16 kB / 1.134 GB, free: 23.81 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.7252, allocations: 0.8956 MB / 1.135 GB, free: 23.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/0.7259, allocations: 354.9 kB / 1.135 GB, free: 23.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.7374, allocations: 21.45 MB / 1.156 GB, free: 5.734 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.739, allocations: 100.9 kB / 1.156 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.7391, allocations: 89.38 kB / 1.156 GB, free: 5.688 MB / 0.9948 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002959/0.7421, allocations: 1.612 MB / 1.158 GB, free: 4.996 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/0.7425, allocations: 208.1 kB / 1.158 GB, free: 4.887 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003393/0.7459, allocations: 2.958 MB / 1.161 GB, free: 3.652 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.7459, allocations: 18.06 kB / 1.161 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/0.7459, allocations: 12.53 kB / 1.161 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.7459, allocations: 10.56 kB / 1.161 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007893/0.7538, allocations: 5.993 MB / 1.167 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.7538, allocations: 5.062 kB / 1.167 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.7542, allocations: 175.1 kB / 1.167 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.7554, allocations: 0.8303 MB / 1.168 GB, free: 0.8945 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/0.7555, allocations: 32.97 kB / 1.168 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.7678, allocations: 20.31 MB / 1.187 GB, free: 15.54 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.7678, allocations: 6.344 kB / 1.187 GB, free: 15.54 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/0.7715, allocations: 2.998 MB / 1.19 GB, free: 13.73 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008643/0.7724, allocations: 378.3 kB / 1.191 GB, free: 13.49 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.7725, allocations: 31.03 kB / 1.191 GB, free: 13.47 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000471/0.773, allocations: 71.62 kB / 1.191 GB, free: 13.43 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/0.7733, allocations: 137.8 kB / 1.191 GB, free: 13.34 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/0.7734, allocations: 35.41 kB / 1.191 GB, free: 13.33 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0009797/0.7743, allocations: 0.8915 MB / 1.192 GB, free: 12.85 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7743, allocations: 0 / 1.192 GB, free: 12.85 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.002772/0.7771, allocations: 0.7861 MB / 1.193 GB, free: 12.79 MB / 1.026 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002579/0.7774, allocations: 142.7 kB / 1.193 GB, free: 12.68 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.004194/0.7816, allocations: 3.913 MB / 1.197 GB, free: 10.07 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.7816, allocations: 2.656 kB / 1.197 GB, free: 10.07 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.7839, allocations: 2.66 MB / 1.199 GB, free: 7.984 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.7862, allocations: 0.7154 MB / 1.2 GB, free: 7.625 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.7981, allocations: 7.945 MB / 1.208 GB, free: 0.9258 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/0.8012, allocations: 2.638 MB / 1.21 GB, free: 14.25 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/0.8017, allocations: 116.5 kB / 1.21 GB, free: 14.14 MB / 1.042 GB Notification: Performance of SimCode: time 1.513e-06/0.8017, allocations: 0 / 1.21 GB, free: 14.14 MB / 1.042 GB Notification: Performance of Templates: time 0.2193/1.021, allocations: 323 MB / 1.526 GB, free: 10.98 MB / 1.354 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.637462778016925]