Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001392/0.001392, allocations: 113.9 kB / 17.13 MB, free: 5.938 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.001428/0.001428, allocations: 197.2 kB / 20.08 MB, free: 3 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.493/1.493, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 71.88 kB / 1.057 GB, free: 1.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3266, allocations: 160.7 MB / 1.214 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03058/0.3572, allocations: 23.77 MB / 1.237 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01213/0.3693, allocations: 6.546 MB / 1.244 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.3714, allocations: 99.5 kB / 1.244 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004307/0.3757, allocations: 1.519 MB / 1.245 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005047/0.3808, allocations: 1.945 MB / 1.247 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.3849, allocations: 1.453 MB / 1.249 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00946/0.3943, allocations: 6.9 MB / 1.255 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008229/0.4025, allocations: 5.204 MB / 1.26 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6042/1.007, allocations: 2.877 MB / 1.263 GB, free: 20.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006036/1.013, allocations: 3.733 MB / 1.267 GB, free: 20.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002012/1.015, allocations: 0.5299 MB / 1.267 GB, free: 20.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004483/1.019, allocations: 1.191 MB / 1.269 GB, free: 20.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005993/1.025, allocations: 2.531 MB / 1.271 GB, free: 19.79 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009169/1.034, allocations: 2.529 MB / 1.273 GB, free: 19.15 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01796/1.052, allocations: 8.545 MB / 1.282 GB, free: 18.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.052, allocations: 2.203 kB / 1.282 GB, free: 18.28 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/1.052, allocations: 0.5312 kB / 1.282 GB, free: 18.28 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004263/1.053, allocations: 0.5312 kB / 1.282 GB, free: 18.28 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01965/1.072, allocations: 4.543 MB / 1.286 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.072, allocations: 8.891 kB / 1.286 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/1.084, allocations: 1.708 MB / 1.288 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/1.095, allocations: 2.704 MB / 1.291 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005491/1.095, allocations: 281.2 kB / 1.291 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00377/1.099, allocations: 363 kB / 1.291 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0267/1.126, allocations: 7.489 MB / 1.299 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002989/1.126, allocations: 16.2 kB / 1.299 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002533/1.128, allocations: 158.3 kB / 1.299 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009527/1.129, allocations: 488.7 kB / 1.299 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/1.144, allocations: 5.703 MB / 1.305 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04811/1.193, allocations: 31.55 MB / 1.336 GB, free: 1.805 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/1.197, allocations: 2.014 MB / 1.337 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005028/1.202, allocations: 2.115 MB / 1.34 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004213/1.202, allocations: 19.41 kB / 1.34 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.349e-05/1.202, allocations: 51.91 kB / 1.34 GB, free: 15.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 5.931e-06/1.202, allocations: 0 / 1.34 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=251): time 0.3366/1.539, allocations: 76.8 MB / 1.415 GB, free: 15.76 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/1.539, allocations: 77.41 kB / 1.415 GB, free: 15.67 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/1.542, allocations: 1.666 MB / 1.416 GB, free: 13.96 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0007785/1.543, allocations: 61.7 kB / 1.416 GB, free: 13.89 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001535/1.545, allocations: 1.797 MB / 1.418 GB, free: 12.08 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001562/1.546, allocations: 0.8985 MB / 1.419 GB, free: 11.2 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001841/1.548, allocations: 485.4 kB / 1.419 GB, free: 10.71 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.548, allocations: 305.1 kB / 1.42 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004612/1.553, allocations: 2.73 MB / 1.422 GB, free: 7.68 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005194/1.558, allocations: 3.334 MB / 1.426 GB, free: 4.109 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/1.568, allocations: 6.391 MB / 1.432 GB, free: 13.55 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/1.568, allocations: 12 kB / 1.432 GB, free: 13.54 MB / 1.107 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03805/1.606, allocations: 14.4 MB / 1.446 GB, free: 15.39 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/1.607, allocations: 12.19 kB / 1.446 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/1.607, allocations: 24 kB / 1.446 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03332/1.64, allocations: 9.233 MB / 1.455 GB, free: 6.094 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.641, allocations: 311.4 kB / 1.455 GB, free: 5.812 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09524/1.737, allocations: 52.41 MB / 1.507 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003741/1.74, allocations: 219.7 kB / 1.507 GB, free: 448 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007622/1.741, allocations: 100 kB / 1.507 GB, free: 348 kB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004612/1.746, allocations: 1.58 MB / 1.508 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.747, allocations: 258.5 kB / 1.509 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03954/1.786, allocations: 14.48 MB / 1.523 GB, free: 184 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/1.786, allocations: 24 kB / 1.523 GB, free: 160 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001685/1.786, allocations: 44 kB / 1.523 GB, free: 116 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/1.787, allocations: 11.95 kB / 1.523 GB, free: 104 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05308/1.84, allocations: 20.24 MB / 1.543 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/1.84, allocations: 8 kB / 1.543 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/1.84, allocations: 166 kB / 1.543 GB, free: 11.79 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03263/1.873, allocations: 9.003 MB / 1.552 GB, free: 2.766 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007536/1.874, allocations: 55.92 kB / 1.552 GB, free: 2.711 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09079/1.965, allocations: 51.95 MB / 1.602 GB, free: 13.92 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/1.965, allocations: 7.938 kB / 1.602 GB, free: 13.91 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03572/2, allocations: 14.1 MB / 1.616 GB, free: 15.68 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002694/2.003, allocations: 0.8575 MB / 1.617 GB, free: 14.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/2.004, allocations: 52 kB / 1.617 GB, free: 14.75 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003007/2.007, allocations: 207.7 kB / 1.617 GB, free: 14.55 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001625/2.009, allocations: 241.5 kB / 1.617 GB, free: 14.31 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000439/2.009, allocations: 68 kB / 1.618 GB, free: 14.25 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002364/2.012, allocations: 1.125 MB / 1.619 GB, free: 13.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/2.012, allocations: 0 / 1.619 GB, free: 13.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.007454/2.019, allocations: 1.613 MB / 1.62 GB, free: 11.48 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007417/2.02, allocations: 173.6 kB / 1.62 GB, free: 11.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02556/2.045, allocations: 10.2 MB / 1.63 GB, free: 1.07 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/2.045, allocations: 4 kB / 1.63 GB, free: 1.066 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01996/2.065, allocations: 7.016 MB / 1.637 GB, free: 9.996 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004731/2.07, allocations: 0.544 MB / 1.638 GB, free: 9.461 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/2.093, allocations: 9.444 MB / 1.647 GB, free: 15.93 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005509/2.099, allocations: 3.29 MB / 1.65 GB, free: 12.6 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/2.099, allocations: 115.4 kB / 1.65 GB, free: 12.49 MB / 1.326 GB Notification: Performance of SimCode: time 1.403e-06/2.099, allocations: 0 / 1.65 GB, free: 12.49 MB / 1.326 GB Notification: Performance of Templates: time 0.8532/2.952, allocations: 188 MB / 1.834 GB, free: 0.5 GB / 1.482 GB " [Timeout remaining time 297] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 23.381191444117576]