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.001357/0.001357, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001492/0.001492, allocations: 200.5 kB / 22.17 MB, free: 5.211 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.411/1.411, allocations: 225.6 MB / 250.9 MB, free: 13.24 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.734/2.734, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.002021/0.002021, allocations: 67.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8375, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04578/0.8833, allocations: 34.83 MB / 1.308 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02568/0.909, allocations: 15.24 MB / 1.323 GB, free: 2.312 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.9127, allocations: 155.2 kB / 1.323 GB, free: 2.16 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.9231, allocations: 3.799 MB / 1.327 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009235/0.9323, allocations: 3.012 MB / 1.33 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007307/0.9396, allocations: 2.379 MB / 1.332 GB, free: 8.938 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01329/0.9529, allocations: 8.81 MB / 1.341 GB, free: 108 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009966/0.9629, allocations: 5.094 MB / 1.346 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006959/0.9698, allocations: 4.016 MB / 1.35 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007684/0.9775, allocations: 4.26 MB / 1.354 GB, free: 2.59 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002176/0.9797, allocations: 0.7188 MB / 1.354 GB, free: 1.871 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004536/0.9842, allocations: 1.751 MB / 1.356 GB, free: 120 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004554/0.9888, allocations: 2.891 MB / 1.359 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.007381/0.9962, allocations: 3.392 MB / 1.362 GB, free: 9.812 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0174/1.014, allocations: 11.22 MB / 1.373 GB, free: 14.55 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.014, allocations: 0 / 1.373 GB, free: 14.55 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/1.014, allocations: 0 / 1.373 GB, free: 14.55 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003408/1.014, allocations: 0 / 1.373 GB, free: 14.55 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.01505/1.029, allocations: 6.132 MB / 1.379 GB, free: 8.336 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/1.029, allocations: 12.03 kB / 1.379 GB, free: 8.324 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006804/1.036, allocations: 1.172 MB / 1.38 GB, free: 7.148 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008575/1.044, allocations: 3.542 MB / 1.384 GB, free: 3.531 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/1.045, allocations: 378.4 kB / 1.384 GB, free: 3.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/1.046, allocations: 0.4883 MB / 1.385 GB, free: 2.672 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/1.06, allocations: 8.005 MB / 1.393 GB, free: 10.39 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/1.06, allocations: 27.81 kB / 1.393 GB, free: 10.36 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006105/1.061, allocations: 212 kB / 1.393 GB, free: 10.15 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/1.062, allocations: 437.6 kB / 1.393 GB, free: 9.723 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/1.075, allocations: 6.085 MB / 1.399 GB, free: 3.625 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04787/1.123, allocations: 34.94 MB / 1.433 GB, free: 13.51 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/1.126, allocations: 1.917 MB / 1.435 GB, free: 11.59 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002667/1.129, allocations: 1.752 MB / 1.437 GB, free: 9.832 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/1.129, allocations: 22 kB / 1.437 GB, free: 9.809 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/1.129, allocations: 56.5 kB / 1.437 GB, free: 9.746 MB / 1.139 GB Notification: Performance of pre-optimization done (n=171): time 4.048e-06/1.129, allocations: 0 / 1.437 GB, free: 9.746 MB / 1.139 GB Notification: Performance of matching and sorting (n=276): time 0.1594/1.288, allocations: 38.86 MB / 1.475 GB, free: 2.793 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/1.288, allocations: 77.58 kB / 1.475 GB, free: 2.703 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004187/1.293, allocations: 2.286 MB / 1.477 GB, free: 412 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004864/1.293, allocations: 73.7 kB / 1.477 GB, free: 332 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00208/1.295, allocations: 2.334 MB / 1.479 GB, free: 13.97 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.296, allocations: 0.9798 MB / 1.48 GB, free: 12.98 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/1.298, allocations: 0.518 MB / 1.481 GB, free: 12.45 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.298, allocations: 309.1 kB / 1.481 GB, free: 12.15 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/1.301, allocations: 1.97 MB / 1.483 GB, free: 10.18 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003726/1.305, allocations: 2.599 MB / 1.486 GB, free: 7.336 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007275/1.312, allocations: 4.933 MB / 1.491 GB, free: 2.129 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/1.312, allocations: 8 kB / 1.491 GB, free: 2.121 MB / 1.186 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01576/1.328, allocations: 7.658 MB / 1.498 GB, free: 10.39 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/1.328, allocations: 12 kB / 1.498 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.792e-05/1.328, allocations: 20 kB / 1.498 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00975/1.338, allocations: 3.214 MB / 1.501 GB, free: 7.133 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/1.339, allocations: 407.3 kB / 1.502 GB, free: 6.734 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05156/1.391, allocations: 33.89 MB / 1.535 GB, free: 3.992 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/1.394, allocations: 163.8 kB / 1.535 GB, free: 3.832 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000565/1.395, allocations: 112 kB / 1.535 GB, free: 3.723 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.003603/1.398, allocations: 1.794 MB / 1.537 GB, free: 1.918 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009676/1.399, allocations: 341.9 kB / 1.537 GB, free: 1.582 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01571/1.415, allocations: 7.251 MB / 1.544 GB, free: 10.25 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/1.415, allocations: 24.38 kB / 1.544 GB, free: 10.23 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.344e-05/1.415, allocations: 32 kB / 1.544 GB, free: 10.2 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/1.415, allocations: 11.95 kB / 1.544 GB, free: 10.18 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02663/1.442, allocations: 12.8 MB / 1.557 GB, free: 13.21 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.427e-05/1.442, allocations: 15.88 kB / 1.557 GB, free: 13.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/1.443, allocations: 231.6 kB / 1.557 GB, free: 12.97 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008806/1.452, allocations: 2.847 MB / 1.56 GB, free: 10.11 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002923/1.452, allocations: 56 kB / 1.56 GB, free: 10.05 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04865/1.501, allocations: 32.71 MB / 1.592 GB, free: 8.484 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/1.501, allocations: 11.94 kB / 1.592 GB, free: 8.473 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/1.514, allocations: 6.786 MB / 1.598 GB, free: 1.477 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/1.517, allocations: 0.7994 MB / 1.599 GB, free: 0.6562 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007389/1.517, allocations: 48 kB / 1.599 GB, free: 0.6094 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/1.52, allocations: 167.8 kB / 1.599 GB, free: 456 kB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008525/1.52, allocations: 253.5 kB / 1.6 GB, free: 200 kB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/1.521, allocations: 79.98 kB / 1.6 GB, free: 120 kB / 1.295 GB Notification: Performance of sorting global known variables: time 0.6435/2.164, allocations: 1.517 MB / 1.601 GB, free: 297.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.8e-07/2.164, allocations: 0 / 1.601 GB, free: 297.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005218/2.169, allocations: 1.371 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.0004959/2.17, allocations: 178.5 kB / 1.603 GB, free: 297.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01264/2.182, allocations: 6.559 MB / 1.609 GB, free: 296.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/2.182, allocations: 2.469 kB / 1.609 GB, free: 296.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007472/2.19, allocations: 4.251 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.004655/2.195, allocations: 1.119 MB / 1.614 GB, free: 295.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/2.21, allocations: 10.37 MB / 1.624 GB, free: 290.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003629/2.213, allocations: 3.636 MB / 1.628 GB, free: 289.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002066/2.216, allocations: 0.5667 MB / 1.628 GB, free: 289.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/2.216, allocations: 157.3 kB / 1.629 GB, free: 289.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.122e-06/2.216, allocations: 0 / 1.629 GB, free: 289.5 MB / 1.295 GB Notification: Performance of Templates: time 0.1069/2.323, allocations: 78.38 MB / 1.705 GB, free: 223.8 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 cvode -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: 11.958432265091687]