Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001929/0.001929, allocations: 102 kB / 18.93 MB, free: 2.957 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.001948/0.001948, allocations: 192.6 kB / 22.23 MB, free: 5.152 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.524/1.524, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.916/2.916, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.86 kB / 1.061 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8706/0.8726, allocations: 160.8 MB / 1.218 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04497/0.9176, allocations: 36.67 MB / 1.254 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02338/0.941, allocations: 11.94 MB / 1.266 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004365/0.9453, allocations: 210.4 kB / 1.266 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01222/0.9575, allocations: 4.448 MB / 1.27 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007421/0.965, allocations: 2.084 MB / 1.273 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007617/0.9726, allocations: 2.469 MB / 1.275 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01311/0.9857, allocations: 8.464 MB / 1.283 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01131/0.997, allocations: 5.886 MB / 1.289 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007131/1.004, allocations: 3.833 MB / 1.293 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00878/1.013, allocations: 4.428 MB / 1.297 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002567/1.015, allocations: 0.7773 MB / 1.298 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006295/1.022, allocations: 2.067 MB / 1.3 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005643/1.027, allocations: 3.137 MB / 1.303 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007125/1.035, allocations: 3.404 MB / 1.306 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01855/1.053, allocations: 12.02 MB / 1.318 GB, free: 1.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/1.053, allocations: 0 / 1.318 GB, free: 1.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/1.053, allocations: 0 / 1.318 GB, free: 1.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0005062/1.054, allocations: 0 / 1.318 GB, free: 1.07 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02083/1.074, allocations: 5.943 MB / 1.324 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/1.074, allocations: 8.031 kB / 1.324 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007629/1.082, allocations: 1.094 MB / 1.325 GB, free: 9.938 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009529/1.092, allocations: 3.463 MB / 1.328 GB, free: 6.418 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000447/1.092, allocations: 415.5 kB / 1.329 GB, free: 6.012 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002246/1.094, allocations: 0.5393 MB / 1.329 GB, free: 5.473 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.024/1.118, allocations: 9.079 MB / 1.338 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002972/1.119, allocations: 27.83 kB / 1.338 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002022/1.121, allocations: 228 kB / 1.338 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005214/1.121, allocations: 354.7 kB / 1.339 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/1.139, allocations: 6.83 MB / 1.345 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05954/1.198, allocations: 39.86 MB / 1.384 GB, free: 9.066 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/1.203, allocations: 2.91 MB / 1.387 GB, free: 6.012 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00288/1.205, allocations: 1.795 MB / 1.389 GB, free: 4.223 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/1.206, allocations: 18 kB / 1.389 GB, free: 4.203 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/1.206, allocations: 60.5 kB / 1.389 GB, free: 4.137 MB / 1.092 GB Notification: Performance of pre-optimization done (n=179): time 3.857e-06/1.206, allocations: 0 / 1.389 GB, free: 4.137 MB / 1.092 GB Notification: Performance of matching and sorting (n=182): time 0.02587/1.231, allocations: 9.981 MB / 1.399 GB, free: 10.07 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/1.232, allocations: 73.34 kB / 1.399 GB, free: 9.98 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/1.234, allocations: 1.534 MB / 1.4 GB, free: 8.402 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001996/1.234, allocations: 53.7 kB / 1.4 GB, free: 8.344 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001961/1.236, allocations: 2.327 MB / 1.402 GB, free: 5.992 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007315/1.237, allocations: 0.6623 MB / 1.403 GB, free: 5.324 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006495/1.238, allocations: 412.1 kB / 1.403 GB, free: 4.914 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.238, allocations: 305.1 kB / 1.404 GB, free: 4.613 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/1.24, allocations: 1.179 MB / 1.405 GB, free: 3.43 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002586/1.242, allocations: 1.881 MB / 1.407 GB, free: 1.23 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004971/1.247, allocations: 3.367 MB / 1.41 GB, free: 13.55 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/1.247, allocations: 8 kB / 1.41 GB, free: 13.54 MB / 1.123 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008909/1.256, allocations: 4.535 MB / 1.415 GB, free: 8.984 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/1.256, allocations: 16 kB / 1.415 GB, free: 8.969 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.795e-05/1.256, allocations: 24 kB / 1.415 GB, free: 8.945 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004013/1.26, allocations: 1.588 MB / 1.416 GB, free: 7.348 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/1.262, allocations: 347.4 kB / 1.416 GB, free: 7.008 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0271/1.289, allocations: 18.59 MB / 1.435 GB, free: 3.859 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.291, allocations: 119.9 kB / 1.435 GB, free: 3.742 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/1.291, allocations: 95.94 kB / 1.435 GB, free: 3.648 MB / 1.139 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003657/1.295, allocations: 1.902 MB / 1.437 GB, free: 1.738 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/1.295, allocations: 234.5 kB / 1.437 GB, free: 1.508 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007584/1.303, allocations: 4.043 MB / 1.441 GB, free: 13.43 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/1.303, allocations: 16 kB / 1.441 GB, free: 13.42 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.388e-05/1.303, allocations: 20 kB / 1.441 GB, free: 13.4 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/1.303, allocations: 7.969 kB / 1.441 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/1.322, allocations: 9.426 MB / 1.45 GB, free: 3.719 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.322, allocations: 4 kB / 1.45 GB, free: 3.715 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008688/1.323, allocations: 179.7 kB / 1.45 GB, free: 3.539 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003572/1.326, allocations: 1.355 MB / 1.452 GB, free: 2.176 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.326, allocations: 36 kB / 1.452 GB, free: 2.141 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/1.351, allocations: 17.37 MB / 1.469 GB, free: 212 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.351, allocations: 8 kB / 1.469 GB, free: 204 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007737/1.359, allocations: 4.04 MB / 1.473 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.361, allocations: 0.5385 MB / 1.473 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003254/1.361, allocations: 32 kB / 1.473 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009894/1.362, allocations: 87.89 kB / 1.473 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006515/1.363, allocations: 173.5 kB / 1.473 GB, free: 11.22 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.363, allocations: 48.44 kB / 1.473 GB, free: 11.18 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001719/1.365, allocations: 1.005 MB / 1.474 GB, free: 10.15 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.365, allocations: 0 / 1.474 GB, free: 10.15 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004071/1.369, allocations: 0.9883 MB / 1.475 GB, free: 9.16 MB / 1.186 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003465/1.369, allocations: 154.9 kB / 1.475 GB, free: 9 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00774/1.377, allocations: 4.163 MB / 1.48 GB, free: 4.789 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.377, allocations: 0 / 1.48 GB, free: 4.789 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004833/1.382, allocations: 2.576 MB / 1.482 GB, free: 2.172 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/1.386, allocations: 0.7809 MB / 1.483 GB, free: 1.418 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/1.404, allocations: 8.877 MB / 1.491 GB, free: 8.449 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005809/1.41, allocations: 3.573 MB / 1.495 GB, free: 4.844 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001617/1.412, allocations: 467.9 kB / 1.495 GB, free: 4.383 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/1.412, allocations: 123.4 kB / 1.496 GB, free: 4.262 MB / 1.201 GB Notification: Performance of SimCode: time 1.513e-06/1.412, allocations: 0 / 1.496 GB, free: 4.262 MB / 1.201 GB Notification: Performance of Templates: time 0.09909/1.511, allocations: 46.81 MB / 1.541 GB, free: 5.852 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 11.019182003103197]