Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001346/0.001346, allocations: 102.1 kB / 16.45 MB, free: 6.5 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.001402/0.001402, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.193/3.193, allocations: 0.4899 GB / 0.7916 GB, free: 33.43 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_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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.002133/0.002133, allocations: 68.81 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04509/0.4016, allocations: 35.47 MB / 1.356 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02055/0.4222, allocations: 11.66 MB / 1.367 GB, free: 3.531 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.4252, allocations: 210.4 kB / 1.367 GB, free: 3.324 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01157/0.4367, allocations: 4.329 MB / 1.372 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006341/0.4431, allocations: 2.096 MB / 1.374 GB, free: 12.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006954/0.45, allocations: 2.401 MB / 1.376 GB, free: 10.48 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01275/0.4628, allocations: 8.46 MB / 1.384 GB, free: 1.996 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01617/0.4789, allocations: 8.424 MB / 1.393 GB, free: 9.453 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008114/0.4871, allocations: 3.845 MB / 1.396 GB, free: 5.598 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008482/0.4955, allocations: 4.428 MB / 1.401 GB, free: 1.156 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002746/0.4983, allocations: 0.7812 MB / 1.401 GB, free: 384 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005936/0.5042, allocations: 2.063 MB / 1.403 GB, free: 14.31 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005922/0.5101, allocations: 3.133 MB / 1.407 GB, free: 11.17 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.008273/0.5184, allocations: 3.408 MB / 1.41 GB, free: 7.746 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0193/0.5377, allocations: 12.01 MB / 1.422 GB, free: 11.7 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5377, allocations: 0 / 1.422 GB, free: 11.7 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5377, allocations: 0 / 1.422 GB, free: 11.7 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.000458/0.5382, allocations: 7.984 kB / 1.422 GB, free: 11.69 MB / 1.123 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.01793/0.5561, allocations: 5.939 MB / 1.427 GB, free: 5.672 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.5562, allocations: 15.97 kB / 1.427 GB, free: 5.656 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007904/0.5641, allocations: 1.09 MB / 1.428 GB, free: 4.562 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.5746, allocations: 3.471 MB / 1.432 GB, free: 1.035 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005122/0.5751, allocations: 415.5 kB / 1.432 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002419/0.5775, allocations: 0.5354 MB / 1.433 GB, free: 96 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/0.6004, allocations: 9.083 MB / 1.442 GB, free: 6.691 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002875/0.6007, allocations: 27.77 kB / 1.442 GB, free: 6.664 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001708/0.6024, allocations: 240 kB / 1.442 GB, free: 6.43 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004983/0.6029, allocations: 350.7 kB / 1.442 GB, free: 6.086 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01565/0.6185, allocations: 6.822 MB / 1.449 GB, free: 15.25 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05653/0.6751, allocations: 39.86 MB / 1.488 GB, free: 3.684 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0048/0.6799, allocations: 2.905 MB / 1.491 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/0.6831, allocations: 1.782 MB / 1.492 GB, free: 14.86 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.6832, allocations: 25.94 kB / 1.492 GB, free: 14.83 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.6833, allocations: 56.55 kB / 1.492 GB, free: 14.77 MB / 1.201 GB Notification: Performance of pre-optimization done (n=179): time 4.739e-06/0.6833, allocations: 0 / 1.492 GB, free: 14.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=182): time 0.0287/0.712, allocations: 9.994 MB / 1.502 GB, free: 4.684 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.7121, allocations: 73.34 kB / 1.502 GB, free: 4.598 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/0.7153, allocations: 1.526 MB / 1.504 GB, free: 3.027 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002398/0.7155, allocations: 53.64 kB / 1.504 GB, free: 2.969 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/0.7174, allocations: 2.327 MB / 1.506 GB, free: 0.6172 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007775/0.7182, allocations: 0.6663 MB / 1.507 GB, free: 15.94 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007996/0.719, allocations: 412.1 kB / 1.507 GB, free: 15.53 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.7191, allocations: 308.9 kB / 1.507 GB, free: 15.23 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.721, allocations: 1.176 MB / 1.509 GB, free: 14.05 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/0.7237, allocations: 1.881 MB / 1.51 GB, free: 11.86 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/0.7286, allocations: 3.371 MB / 1.514 GB, free: 8.172 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/0.7286, allocations: 8 kB / 1.514 GB, free: 8.164 MB / 1.217 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008549/0.7371, allocations: 4.535 MB / 1.518 GB, free: 3.605 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.7372, allocations: 16 kB / 1.518 GB, free: 3.59 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/0.7372, allocations: 20 kB / 1.518 GB, free: 3.57 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004217/0.7414, allocations: 1.583 MB / 1.52 GB, free: 1.98 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.7427, allocations: 351.4 kB / 1.52 GB, free: 1.637 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02716/0.7698, allocations: 18.61 MB / 1.538 GB, free: 14.47 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.7716, allocations: 119.9 kB / 1.538 GB, free: 14.35 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/0.7719, allocations: 99.98 kB / 1.538 GB, free: 14.25 MB / 1.248 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.003419/0.7753, allocations: 1.883 MB / 1.54 GB, free: 12.36 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005846/0.7759, allocations: 234.5 kB / 1.541 GB, free: 12.13 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008285/0.7841, allocations: 4.043 MB / 1.544 GB, free: 8.059 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.7842, allocations: 16 kB / 1.544 GB, free: 8.043 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.765e-05/0.7842, allocations: 16 kB / 1.544 GB, free: 8.027 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.7842, allocations: 11.91 kB / 1.545 GB, free: 8.016 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/0.8044, allocations: 9.422 MB / 1.554 GB, free: 14.34 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/0.8045, allocations: 4 kB / 1.554 GB, free: 14.34 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009327/0.8054, allocations: 175.7 kB / 1.554 GB, free: 14.17 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004035/0.8094, allocations: 1.363 MB / 1.555 GB, free: 12.8 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.8096, allocations: 36 kB / 1.555 GB, free: 12.76 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02574/0.8353, allocations: 17.38 MB / 1.572 GB, free: 10.82 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.8353, allocations: 4 kB / 1.572 GB, free: 10.82 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007963/0.8433, allocations: 4.028 MB / 1.576 GB, free: 6.699 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.8445, allocations: 0.5385 MB / 1.577 GB, free: 6.141 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004368/0.8449, allocations: 36.5 kB / 1.577 GB, free: 6.105 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.8461, allocations: 83.89 kB / 1.577 GB, free: 6.023 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005943/0.8467, allocations: 165.7 kB / 1.577 GB, free: 5.859 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.8468, allocations: 52 kB / 1.577 GB, free: 5.809 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001794/0.8486, allocations: 1.001 MB / 1.578 GB, free: 4.785 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.8486, allocations: 0 / 1.578 GB, free: 4.785 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003488/0.8521, allocations: 0.9844 MB / 1.579 GB, free: 3.801 MB / 1.279 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.0004266/0.8526, allocations: 158.9 kB / 1.579 GB, free: 3.637 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.008113/0.8607, allocations: 4.163 MB / 1.583 GB, free: 15.42 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.8607, allocations: 0 / 1.583 GB, free: 15.42 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004923/0.8656, allocations: 2.584 MB / 1.586 GB, free: 12.79 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004113/0.8697, allocations: 0.7804 MB / 1.586 GB, free: 12.03 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/0.8878, allocations: 8.73 MB / 1.595 GB, free: 3.211 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005821/0.8936, allocations: 3.58 MB / 1.598 GB, free: 15.6 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001563/0.8952, allocations: 463.9 kB / 1.599 GB, free: 15.14 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.8955, allocations: 119.4 kB / 1.599 GB, free: 15.02 MB / 1.311 GB Notification: Performance of SimCode: time 1.152e-06/0.8955, allocations: 3.938 kB / 1.599 GB, free: 15.02 MB / 1.311 GB Notification: Performance of Templates: time 0.7215/1.617, allocations: 45.18 MB / 1.643 GB, free: 261.6 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.036911757662892]