Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001559/0.001559, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001758/0.001758, allocations: 216.4 kB / 23.04 MB, free: 4.844 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.243/3.243, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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_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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.002023/0.002023, allocations: 64.8 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4554, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04469/0.5001, allocations: 31.71 MB / 1.358 GB, free: 1.133 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02956/0.5297, allocations: 14.45 MB / 1.372 GB, free: 2.645 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006597/0.5363, allocations: 210.4 kB / 1.372 GB, free: 2.438 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01277/0.5491, allocations: 3.678 MB / 1.376 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01234/0.5614, allocations: 2.974 MB / 1.379 GB, free: 11.76 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008339/0.5697, allocations: 2.342 MB / 1.381 GB, free: 9.422 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01552/0.5852, allocations: 8.812 MB / 1.39 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01142/0.5967, allocations: 5.479 MB / 1.395 GB, free: 10.97 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01024/0.6069, allocations: 4.227 MB / 1.399 GB, free: 6.734 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008778/0.6157, allocations: 3.928 MB / 1.403 GB, free: 2.793 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002902/0.6186, allocations: 0.7109 MB / 1.404 GB, free: 2.082 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006234/0.6248, allocations: 1.615 MB / 1.405 GB, free: 476 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005858/0.6307, allocations: 2.891 MB / 1.408 GB, free: 13.57 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.008447/0.6391, allocations: 2.743 MB / 1.411 GB, free: 10.81 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01854/0.6577, allocations: 11.26 MB / 1.422 GB, free: 15.52 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.42e-05/0.6577, allocations: 0 / 1.422 GB, free: 15.52 MB / 1.123 GB Notification: Performance of FrontEnd: time 4.689e-06/0.6577, allocations: 7.938 kB / 1.422 GB, free: 15.51 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0007873/0.6585, allocations: 0 / 1.422 GB, free: 15.51 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02636/0.6848, allocations: 6.031 MB / 1.428 GB, free: 9.418 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.6849, allocations: 8.031 kB / 1.428 GB, free: 9.41 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008976/0.6939, allocations: 1.184 MB / 1.429 GB, free: 8.223 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.705, allocations: 3.446 MB / 1.432 GB, free: 4.688 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005897/0.7056, allocations: 374.4 kB / 1.433 GB, free: 4.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002636/0.7082, allocations: 0.4922 MB / 1.433 GB, free: 3.828 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02482/0.733, allocations: 8.705 MB / 1.442 GB, free: 10.68 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003827/0.7334, allocations: 23.78 kB / 1.442 GB, free: 10.66 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/0.7355, allocations: 216 kB / 1.442 GB, free: 10.45 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001327/0.7368, allocations: 441.6 kB / 1.442 GB, free: 10.01 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.7537, allocations: 6.069 MB / 1.448 GB, free: 3.93 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05017/0.8039, allocations: 21.22 MB / 1.469 GB, free: 14.23 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/0.808, allocations: 1.909 MB / 1.471 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/0.8113, allocations: 1.748 MB / 1.473 GB, free: 10.56 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.8115, allocations: 18 kB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.81e-05/0.8116, allocations: 52.56 kB / 1.473 GB, free: 10.48 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 5.21e-06/0.8116, allocations: 3.938 kB / 1.473 GB, free: 10.48 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.1626/0.9742, allocations: 38.68 MB / 1.51 GB, free: 3.742 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/0.9743, allocations: 81.58 kB / 1.51 GB, free: 3.648 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.9784, allocations: 2.039 MB / 1.512 GB, free: 1.59 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005295/0.9789, allocations: 73.7 kB / 1.513 GB, free: 1.512 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001975/0.9809, allocations: 2.348 MB / 1.515 GB, free: 15.14 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001385/0.9823, allocations: 0.9838 MB / 1.516 GB, free: 14.15 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/0.9838, allocations: 0.5025 MB / 1.516 GB, free: 13.64 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.984, allocations: 309.1 kB / 1.517 GB, free: 13.33 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00332/0.9873, allocations: 1.97 MB / 1.519 GB, free: 11.36 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003896/0.9912, allocations: 2.602 MB / 1.521 GB, free: 8.512 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007287/0.9985, allocations: 4.933 MB / 1.526 GB, free: 3.305 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.9985, allocations: 4 kB / 1.526 GB, free: 3.301 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0154/1.014, allocations: 7.623 MB / 1.533 GB, free: 11.61 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/1.014, allocations: 12 kB / 1.533 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/1.014, allocations: 16 kB / 1.533 GB, free: 11.58 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009468/1.023, allocations: 3.221 MB / 1.536 GB, free: 8.344 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/1.025, allocations: 395.3 kB / 1.537 GB, free: 7.957 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0476/1.073, allocations: 32.57 MB / 1.569 GB, free: 6.77 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/1.076, allocations: 163.8 kB / 1.569 GB, free: 6.609 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003464/1.076, allocations: 104.4 kB / 1.569 GB, free: 6.508 MB / 1.264 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.003366/1.08, allocations: 1.809 MB / 1.571 GB, free: 4.688 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009946/1.081, allocations: 318 kB / 1.571 GB, free: 4.375 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/1.097, allocations: 7.224 MB / 1.578 GB, free: 13.07 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/1.097, allocations: 31.94 kB / 1.578 GB, free: 13.04 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.513e-05/1.097, allocations: 31.98 kB / 1.578 GB, free: 13 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.344e-05/1.097, allocations: 11.95 kB / 1.578 GB, free: 12.99 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/1.121, allocations: 11.4 MB / 1.589 GB, free: 1.441 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/1.121, allocations: 8 kB / 1.589 GB, free: 1.434 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/1.122, allocations: 231.6 kB / 1.589 GB, free: 1.207 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008386/1.13, allocations: 2.846 MB / 1.592 GB, free: 14.34 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003908/1.131, allocations: 52 kB / 1.592 GB, free: 14.29 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9761/2.107, allocations: 31.34 MB / 1.623 GB, free: 248.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/2.107, allocations: 7.219 kB / 1.623 GB, free: 248.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/2.121, allocations: 6.757 MB / 1.63 GB, free: 245.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/2.124, allocations: 0.6934 MB / 1.63 GB, free: 245.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000616/2.124, allocations: 58.98 kB / 1.63 GB, free: 245.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/2.126, allocations: 170.5 kB / 1.63 GB, free: 245.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/2.127, allocations: 263.2 kB / 1.631 GB, free: 245.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/2.127, allocations: 76.05 kB / 1.631 GB, free: 245.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002155/2.129, allocations: 1.331 MB / 1.632 GB, free: 244.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.129, allocations: 0 / 1.632 GB, free: 244.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004991/2.134, allocations: 1.365 MB / 1.633 GB, free: 244.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.000407/2.135, allocations: 174.5 kB / 1.634 GB, free: 244.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01148/2.146, allocations: 6.56 MB / 1.64 GB, free: 241.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/2.146, allocations: 3.156 kB / 1.64 GB, free: 241.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007412/2.154, allocations: 4.265 MB / 1.644 GB, free: 239.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/2.158, allocations: 1.021 MB / 1.645 GB, free: 239.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/2.175, allocations: 11.04 MB / 1.656 GB, free: 234.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00409/2.179, allocations: 3.22 MB / 1.659 GB, free: 233.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006809/2.18, allocations: 158.1 kB / 1.659 GB, free: 233.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.152e-06/2.18, allocations: 0 / 1.659 GB, free: 233.4 MB / 1.295 GB Notification: Performance of Templates: time 0.1661/2.346, allocations: 228 MB / 1.882 GB, free: 8.738 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 27.100332075031474]