Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001761/0.001761, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002021/0.002021, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.514/1.514, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.756/2.756, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 67.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8768/0.8789, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04293/0.9218, allocations: 34.82 MB / 1.308 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02757/0.9494, allocations: 15.26 MB / 1.323 GB, free: 2.312 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005499/0.9549, allocations: 155.2 kB / 1.323 GB, free: 2.16 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.9666, allocations: 3.782 MB / 1.327 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009602/0.9762, allocations: 3.019 MB / 1.33 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006796/0.983, allocations: 2.371 MB / 1.332 GB, free: 8.961 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01486/0.9979, allocations: 8.821 MB / 1.341 GB, free: 120 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008927/1.007, allocations: 5.09 MB / 1.346 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007348/1.014, allocations: 4.012 MB / 1.35 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007735/1.022, allocations: 4.264 MB / 1.354 GB, free: 2.609 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002334/1.024, allocations: 0.7148 MB / 1.354 GB, free: 1.895 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005034/1.029, allocations: 1.748 MB / 1.356 GB, free: 148 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.005187/1.034, allocations: 2.899 MB / 1.359 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.009001/1.043, allocations: 3.384 MB / 1.362 GB, free: 9.836 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02091/1.064, allocations: 11.23 MB / 1.373 GB, free: 14.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.788e-05/1.064, allocations: 0 / 1.373 GB, free: 14.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.876e-06/1.064, allocations: 4 kB / 1.373 GB, free: 14.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004719/1.065, allocations: 0 / 1.373 GB, free: 14.57 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02246/1.087, allocations: 6.128 MB / 1.379 GB, free: 8.355 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.087, allocations: 8.031 kB / 1.379 GB, free: 8.348 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008706/1.096, allocations: 1.172 MB / 1.38 GB, free: 7.172 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/1.107, allocations: 3.545 MB / 1.384 GB, free: 3.551 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005085/1.107, allocations: 370.4 kB / 1.384 GB, free: 3.188 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002198/1.109, allocations: 0.4961 MB / 1.385 GB, free: 2.691 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/1.131, allocations: 8.005 MB / 1.393 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003663/1.131, allocations: 19.83 kB / 1.393 GB, free: 10.39 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001779/1.133, allocations: 216 kB / 1.393 GB, free: 10.18 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001297/1.134, allocations: 441.5 kB / 1.393 GB, free: 9.742 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/1.152, allocations: 6.081 MB / 1.399 GB, free: 3.648 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04868/1.2, allocations: 34.95 MB / 1.433 GB, free: 13.52 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/1.203, allocations: 1.913 MB / 1.435 GB, free: 11.61 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00266/1.206, allocations: 1.748 MB / 1.437 GB, free: 9.859 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-05/1.206, allocations: 18 kB / 1.437 GB, free: 9.84 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/1.206, allocations: 64.44 kB / 1.437 GB, free: 9.77 MB / 1.139 GB Notification: Performance of pre-optimization done (n=171): time 3.707e-06/1.206, allocations: 0 / 1.437 GB, free: 9.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=276): time 0.1604/1.367, allocations: 38.85 MB / 1.475 GB, free: 2.816 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/1.367, allocations: 81.58 kB / 1.475 GB, free: 2.723 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/1.37, allocations: 2.286 MB / 1.477 GB, free: 432 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004138/1.371, allocations: 73.7 kB / 1.477 GB, free: 352 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001879/1.373, allocations: 2.33 MB / 1.479 GB, free: 13.99 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001086/1.374, allocations: 0.9837 MB / 1.48 GB, free: 13 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009869/1.375, allocations: 0.5102 MB / 1.481 GB, free: 12.48 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.375, allocations: 305.1 kB / 1.481 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003045/1.378, allocations: 1.981 MB / 1.483 GB, free: 10.2 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/1.382, allocations: 2.599 MB / 1.486 GB, free: 7.355 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007396/1.389, allocations: 4.933 MB / 1.491 GB, free: 2.148 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/1.389, allocations: 4 kB / 1.491 GB, free: 2.145 MB / 1.186 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01577/1.405, allocations: 7.658 MB / 1.498 GB, free: 10.42 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/1.405, allocations: 12 kB / 1.498 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/1.405, allocations: 16 kB / 1.498 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0096/1.414, allocations: 3.216 MB / 1.501 GB, free: 7.156 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/1.416, allocations: 407.3 kB / 1.502 GB, free: 6.758 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04904/1.465, allocations: 33.91 MB / 1.535 GB, free: 4.004 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/1.469, allocations: 159.8 kB / 1.535 GB, free: 3.848 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003891/1.469, allocations: 108 kB / 1.535 GB, free: 3.742 MB / 1.232 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003392/1.472, allocations: 1.798 MB / 1.537 GB, free: 1.934 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008535/1.473, allocations: 349.9 kB / 1.537 GB, free: 1.59 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/1.488, allocations: 7.239 MB / 1.544 GB, free: 10.27 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/1.488, allocations: 28 kB / 1.544 GB, free: 10.24 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.667e-05/1.488, allocations: 28 kB / 1.544 GB, free: 10.21 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.735e-05/1.488, allocations: 15.94 kB / 1.544 GB, free: 10.2 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02534/1.513, allocations: 12.8 MB / 1.557 GB, free: 13.23 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/1.513, allocations: 7.938 kB / 1.557 GB, free: 13.22 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.514, allocations: 235.6 kB / 1.557 GB, free: 12.99 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008199/1.523, allocations: 2.853 MB / 1.56 GB, free: 10.12 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000341/1.523, allocations: 52 kB / 1.56 GB, free: 10.07 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04619/1.569, allocations: 32.71 MB / 1.592 GB, free: 8.504 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.569, allocations: 8 kB / 1.592 GB, free: 8.496 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.583, allocations: 6.782 MB / 1.598 GB, free: 1.504 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002446/1.586, allocations: 0.7917 MB / 1.599 GB, free: 0.6914 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006773/1.586, allocations: 52 kB / 1.599 GB, free: 0.6406 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/1.588, allocations: 171.8 kB / 1.599 GB, free: 484 kB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008152/1.589, allocations: 253.4 kB / 1.6 GB, free: 228 kB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/1.589, allocations: 76 kB / 1.6 GB, free: 152 kB / 1.295 GB Notification: Performance of sorting global known variables: time 0.6499/2.239, allocations: 1.523 MB / 1.601 GB, free: 297.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 4.91e-07/2.239, allocations: 0 / 1.601 GB, free: 297.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.008404/2.248, allocations: 1.368 MB / 1.602 GB, free: 297.6 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006739/2.248, allocations: 180.3 kB / 1.603 GB, free: 297.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01356/2.262, allocations: 6.559 MB / 1.609 GB, free: 296.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/2.262, allocations: 3.094 kB / 1.609 GB, free: 296.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.008183/2.27, allocations: 4.257 MB / 1.613 GB, free: 295.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005274/2.275, allocations: 1.117 MB / 1.614 GB, free: 295.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/2.293, allocations: 10.37 MB / 1.624 GB, free: 290.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004321/2.297, allocations: 3.638 MB / 1.628 GB, free: 289.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002178/2.299, allocations: 0.5563 MB / 1.628 GB, free: 289.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/2.3, allocations: 160.5 kB / 1.629 GB, free: 289.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.332e-06/2.3, allocations: 0 / 1.629 GB, free: 289.4 MB / 1.295 GB Notification: Performance of Templates: time 0.1044/2.404, allocations: 78.39 MB / 1.705 GB, free: 223.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 12.344350490253419]