Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 112.2 kB / 17.08 MB, free: 5.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 198.1 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.075/3.075, allocations: 489.2 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156/1.158, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03867/1.197, allocations: 32.6 MB / 1.294 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02023/1.217, allocations: 10.27 MB / 1.304 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004446/1.222, allocations: 150.5 kB / 1.305 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01075/1.233, allocations: 3.727 MB / 1.308 GB, free: 8.766 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007343/1.24, allocations: 1.851 MB / 1.31 GB, free: 7.641 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007363/1.247, allocations: 2.131 MB / 1.312 GB, free: 6.438 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01536/1.263, allocations: 7.335 MB / 1.319 GB, free: 3.117 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02242/1.285, allocations: 9.413 MB / 1.328 GB, free: 15.33 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/1.296, allocations: 3.169 MB / 1.332 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01195/1.308, allocations: 3.481 MB / 1.335 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.004037/1.312, allocations: 0.6453 MB / 1.336 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009846/1.322, allocations: 1.772 MB / 1.337 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.008511/1.331, allocations: 2.547 MB / 1.34 GB, free: 10.8 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01265/1.344, allocations: 2.899 MB / 1.343 GB, free: 8.914 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02938/1.373, allocations: 10.14 MB / 1.353 GB, free: 3.121 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/1.373, allocations: 0 / 1.353 GB, free: 3.121 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.795e-06/1.373, allocations: 1.156 kB / 1.353 GB, free: 3.121 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003976/1.373, allocations: 0 / 1.353 GB, free: 3.121 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02835/1.402, allocations: 5.122 MB / 1.358 GB, free: 15.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/1.402, allocations: 9.469 kB / 1.358 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/1.415, allocations: 0.9784 MB / 1.359 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/1.428, allocations: 3.067 MB / 1.362 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000778/1.429, allocations: 345.3 kB / 1.362 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003149/1.432, allocations: 470.3 kB / 1.362 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03336/1.465, allocations: 7.664 MB / 1.37 GB, free: 7.988 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003639/1.466, allocations: 26.08 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002396/1.468, allocations: 208.2 kB / 1.37 GB, free: 7.816 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000743/1.469, allocations: 311.4 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02335/1.492, allocations: 5.712 MB / 1.376 GB, free: 3.934 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07701/1.569, allocations: 34.88 MB / 1.41 GB, free: 13.85 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/1.573, allocations: 2.158 MB / 1.412 GB, free: 11.57 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/1.575, allocations: 1.261 MB / 1.413 GB, free: 10.31 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.964e-05/1.575, allocations: 17.3 kB / 1.413 GB, free: 10.3 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/1.575, allocations: 55.86 kB / 1.413 GB, free: 10.23 MB / 1.107 GB Notification: Performance of pre-optimization done (n=133): time 3.016e-06/1.575, allocations: 0 / 1.413 GB, free: 10.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=136): time 0.01592/1.591, allocations: 7.142 MB / 1.42 GB, free: 2.824 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/1.591, allocations: 64.72 kB / 1.42 GB, free: 2.75 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/1.594, allocations: 1.484 MB / 1.422 GB, free: 1.219 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/1.594, allocations: 45.7 kB / 1.422 GB, free: 1.168 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.595, allocations: 2.073 MB / 1.424 GB, free: 15.07 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005435/1.596, allocations: 0.4958 MB / 1.424 GB, free: 14.57 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006265/1.597, allocations: 347.4 kB / 1.425 GB, free: 14.23 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.597, allocations: 313.1 kB / 1.425 GB, free: 13.92 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/1.598, allocations: 0.9057 MB / 1.426 GB, free: 13.01 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/1.6, allocations: 1.597 MB / 1.427 GB, free: 11.1 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/1.604, allocations: 2.733 MB / 1.43 GB, free: 8.059 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/1.604, allocations: 4 kB / 1.43 GB, free: 8.055 MB / 1.123 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006875/1.611, allocations: 3.539 MB / 1.434 GB, free: 4.469 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/1.611, allocations: 19.98 kB / 1.434 GB, free: 4.449 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/1.611, allocations: 27.94 kB / 1.434 GB, free: 4.422 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/1.614, allocations: 0.9039 MB / 1.435 GB, free: 3.48 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/1.615, allocations: 347.4 kB / 1.435 GB, free: 3.141 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02548/1.641, allocations: 23.11 MB / 1.457 GB, free: 10.35 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/1.643, allocations: 111.8 kB / 1.458 GB, free: 10.24 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/1.643, allocations: 84 kB / 1.458 GB, free: 10.16 MB / 1.154 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.003449/1.647, allocations: 1.613 MB / 1.459 GB, free: 8.539 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/1.647, allocations: 226.7 kB / 1.459 GB, free: 8.316 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005868/1.653, allocations: 2.986 MB / 1.462 GB, free: 5.285 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/1.653, allocations: 15.94 kB / 1.462 GB, free: 5.27 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/1.653, allocations: 15.98 kB / 1.462 GB, free: 5.254 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/1.653, allocations: 3.984 kB / 1.462 GB, free: 5.25 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/1.667, allocations: 7.337 MB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.667, allocations: 4 kB / 1.47 GB, free: 13.67 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008297/1.668, allocations: 183.7 kB / 1.47 GB, free: 13.49 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/1.67, allocations: 0.8179 MB / 1.47 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/1.67, allocations: 28 kB / 1.471 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02339/1.694, allocations: 21.97 MB / 1.492 GB, free: 4.961 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.694, allocations: 4 kB / 1.492 GB, free: 4.957 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005871/1.7, allocations: 3.03 MB / 1.495 GB, free: 1.816 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.701, allocations: 471.5 kB / 1.495 GB, free: 1.336 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/1.701, allocations: 31.98 kB / 1.495 GB, free: 1.305 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008355/1.702, allocations: 71.92 kB / 1.495 GB, free: 1.234 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003772/1.702, allocations: 128.7 kB / 1.496 GB, free: 1.105 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/1.702, allocations: 40 kB / 1.496 GB, free: 1.066 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001502/1.704, allocations: 0.9756 MB / 1.497 GB, free: 68 kB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/1.704, allocations: 0 / 1.497 GB, free: 68 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.003154/1.707, allocations: 0.7852 MB / 1.497 GB, free: 15.28 MB / 1.201 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.0002765/1.707, allocations: 143.1 kB / 1.497 GB, free: 15.13 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006497/1.714, allocations: 4.051 MB / 1.501 GB, free: 10.93 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.714, allocations: 0 / 1.501 GB, free: 10.93 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004923/1.719, allocations: 2.736 MB / 1.504 GB, free: 8.039 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004694/1.723, allocations: 0.7297 MB / 1.505 GB, free: 7.336 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/1.741, allocations: 7.864 MB / 1.513 GB, free: 15.37 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004524/1.746, allocations: 3.183 MB / 1.516 GB, free: 12.16 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/1.746, allocations: 127.4 kB / 1.516 GB, free: 12.03 MB / 1.217 GB Notification: Performance of SimCode: time 1.202e-06/1.746, allocations: 0 / 1.516 GB, free: 12.03 MB / 1.217 GB Notification: Performance of Templates: time 0.3365/2.083, allocations: 321.7 MB / 1.83 GB, free: 9.945 MB / 1.529 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 24.924612027127296]