Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001736/0.001736, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002122/0.002122, allocations: 210.3 kB / 22.25 MB, free: 5.262 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.801 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.18/3.18, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.002041/0.002041, allocations: 64.53 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3398, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02757/0.3674, allocations: 19.52 MB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.3801, allocations: 6.485 MB / 1.351 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.382, allocations: 115.1 kB / 1.351 GB, free: 7.629 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006791/0.3888, allocations: 2.245 MB / 1.353 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003754/0.3925, allocations: 1.244 MB / 1.354 GB, free: 4.129 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004/0.3965, allocations: 1.286 MB / 1.356 GB, free: 2.844 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00754/0.4041, allocations: 4.854 MB / 1.36 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005919/0.41, allocations: 3.135 MB / 1.364 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/0.4135, allocations: 2.166 MB / 1.366 GB, free: 8.594 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004151/0.4176, allocations: 2.332 MB / 1.368 GB, free: 6.254 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.4188, allocations: 428 kB / 1.368 GB, free: 5.836 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.4213, allocations: 0.9479 MB / 1.369 GB, free: 4.887 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002325/0.4236, allocations: 1.715 MB / 1.371 GB, free: 3.168 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.4261, allocations: 1.545 MB / 1.372 GB, free: 1.617 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00762/0.4337, allocations: 6.565 MB / 1.379 GB, free: 11.03 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4337, allocations: 0 / 1.379 GB, free: 11.03 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4338, allocations: 0 / 1.379 GB, free: 11.03 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001273/0.4339, allocations: 4 kB / 1.379 GB, free: 11.03 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007149/0.441, allocations: 3.467 MB / 1.382 GB, free: 7.512 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4411, allocations: 8.031 kB / 1.382 GB, free: 7.504 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.4444, allocations: 0.6506 MB / 1.383 GB, free: 6.852 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/0.4491, allocations: 2.005 MB / 1.385 GB, free: 4.793 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.4493, allocations: 222.3 kB / 1.385 GB, free: 4.574 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005906/0.4499, allocations: 296.3 kB / 1.385 GB, free: 4.285 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008718/0.4586, allocations: 5.241 MB / 1.39 GB, free: 14.75 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.177e-05/0.4587, allocations: 11.92 kB / 1.39 GB, free: 14.74 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003212/0.459, allocations: 128 kB / 1.391 GB, free: 14.62 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004723/0.4595, allocations: 229.7 kB / 1.391 GB, free: 14.39 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006501/0.466, allocations: 3.75 MB / 1.394 GB, free: 10.63 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02019/0.4862, allocations: 13.09 MB / 1.407 GB, free: 13.2 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.4881, allocations: 1.232 MB / 1.408 GB, free: 11.96 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.4896, allocations: 0.9874 MB / 1.409 GB, free: 10.97 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.4897, allocations: 13 kB / 1.409 GB, free: 10.96 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.4897, allocations: 43.56 kB / 1.409 GB, free: 10.91 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.076e-06/0.4897, allocations: 3.938 kB / 1.409 GB, free: 10.9 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.02553/0.5153, allocations: 8.428 MB / 1.418 GB, free: 2.469 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.5153, allocations: 76.66 kB / 1.418 GB, free: 2.383 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.5168, allocations: 1.055 MB / 1.419 GB, free: 1.316 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.5169, allocations: 49.7 kB / 1.419 GB, free: 1.262 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.518, allocations: 1.35 MB / 1.42 GB, free: 15.9 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004699/0.5185, allocations: 0.4918 MB / 1.421 GB, free: 15.4 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005004/0.519, allocations: 295.4 kB / 1.421 GB, free: 15.11 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5192, allocations: 309.1 kB / 1.421 GB, free: 14.8 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.5206, allocations: 0.9096 MB / 1.422 GB, free: 13.89 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.5223, allocations: 1.326 MB / 1.423 GB, free: 12.4 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/0.5258, allocations: 2.43 MB / 1.426 GB, free: 9.797 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.5258, allocations: 4 kB / 1.426 GB, free: 9.793 MB / 1.123 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006537/0.5324, allocations: 3.418 MB / 1.429 GB, free: 6.355 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.5324, allocations: 13.62 kB / 1.429 GB, free: 6.344 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.5324, allocations: 15.98 kB / 1.429 GB, free: 6.328 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003452/0.5359, allocations: 1.18 MB / 1.43 GB, free: 5.141 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000972/0.5368, allocations: 263.5 kB / 1.431 GB, free: 4.883 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/0.5566, allocations: 13.25 MB / 1.443 GB, free: 7.332 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.5579, allocations: 87.97 kB / 1.444 GB, free: 7.246 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.5581, allocations: 67.94 kB / 1.444 GB, free: 7.18 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001907/0.56, allocations: 1.115 MB / 1.445 GB, free: 6.055 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004003/0.5604, allocations: 163 kB / 1.445 GB, free: 5.895 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006375/0.5668, allocations: 3.125 MB / 1.448 GB, free: 2.75 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.5668, allocations: 12 kB / 1.448 GB, free: 2.738 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-05/0.5668, allocations: 12.38 kB / 1.448 GB, free: 2.727 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.5669, allocations: 15.91 kB / 1.448 GB, free: 2.711 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.5781, allocations: 5.468 MB / 1.453 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.5781, allocations: 8 kB / 1.453 GB, free: 13.13 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/0.5788, allocations: 151.7 kB / 1.453 GB, free: 12.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/0.582, allocations: 1.067 MB / 1.454 GB, free: 11.9 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.5822, allocations: 32 kB / 1.455 GB, free: 11.87 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/0.6021, allocations: 12.95 MB / 1.467 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.6021, allocations: 12.31 kB / 1.467 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006154/0.6083, allocations: 3.108 MB / 1.47 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.6094, allocations: 350.9 kB / 1.471 GB, free: 11.07 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/0.6097, allocations: 28 kB / 1.471 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009639/0.6107, allocations: 79.89 kB / 1.471 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/0.611, allocations: 140.6 kB / 1.471 GB, free: 10.83 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.6112, allocations: 40 kB / 1.471 GB, free: 10.79 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001229/0.6124, allocations: 0.6982 MB / 1.472 GB, free: 10.09 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6124, allocations: 4 kB / 1.472 GB, free: 10.08 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00268/0.6151, allocations: 0.664 MB / 1.472 GB, free: 9.418 MB / 1.17 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002803/0.6153, allocations: 139 kB / 1.472 GB, free: 9.27 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005626/0.621, allocations: 3.009 MB / 1.475 GB, free: 6.227 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.621, allocations: 4 kB / 1.475 GB, free: 6.223 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003431/0.6244, allocations: 1.885 MB / 1.477 GB, free: 4.293 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.6268, allocations: 475.1 kB / 1.478 GB, free: 3.844 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.6373, allocations: 5.537 MB / 1.483 GB, free: 14.22 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/0.6399, allocations: 1.761 MB / 1.485 GB, free: 12.43 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001079/0.641, allocations: 341.3 kB / 1.485 GB, free: 12.09 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.6412, allocations: 87.42 kB / 1.485 GB, free: 12 MB / 1.186 GB Notification: Performance of SimCode: time 9.52e-07/0.6412, allocations: 0 / 1.485 GB, free: 12 MB / 1.186 GB Notification: Performance of Templates: time 0.06188/0.7031, allocations: 36.46 MB / 1.521 GB, free: 8.16 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 9.894440967589617]