Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001432/0.001432, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.0016/0.0016, allocations: 161.6 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.443/1.443, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.697/2.697, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.679e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05128/0.05131, allocations: 35.67 MB / 0.8212 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02252/0.07382, allocations: 10.97 MB / 0.8319 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003253/0.07708, allocations: 202.6 kB / 0.8321 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01286/0.08994, allocations: 4.395 MB / 0.8364 GB, free: 9.457 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007042/0.09698, allocations: 2.388 MB / 0.8388 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00611/0.1031, allocations: 2.183 MB / 0.8409 GB, free: 4.867 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01356/0.1166, allocations: 9.473 MB / 0.8501 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.1295, allocations: 6.362 MB / 0.8564 GB, free: 4.883 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/0.1416, allocations: 5.746 MB / 0.862 GB, free: 15.12 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008517/0.1502, allocations: 4.162 MB / 0.866 GB, free: 10.95 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.002535/0.1527, allocations: 0.8438 MB / 0.8669 GB, free: 10.11 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004602/0.1573, allocations: 1.533 MB / 0.8684 GB, free: 8.574 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.005472/0.1628, allocations: 3.402 MB / 0.8717 GB, free: 5.164 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.006303/0.1691, allocations: 2.593 MB / 0.8742 GB, free: 2.566 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01786/0.1869, allocations: 12.7 MB / 0.8866 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1869, allocations: 0 / 0.8866 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1869, allocations: 0 / 0.8866 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002885/0.1872, allocations: 0 / 0.8866 GB, free: 5.832 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01761/0.2048, allocations: 6.379 MB / 0.8928 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.2049, allocations: 8.031 kB / 0.8928 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009253/0.2141, allocations: 1.796 MB / 0.8946 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009687/0.2238, allocations: 3.911 MB / 0.8984 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005157/0.2243, allocations: 431.7 kB / 0.8988 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/0.2264, allocations: 0.5511 MB / 0.8994 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02318/0.2496, allocations: 10.28 MB / 0.9094 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/0.2497, allocations: 23.95 kB / 0.9094 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008702/0.2506, allocations: 252.5 kB / 0.9097 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007053/0.2513, allocations: 422.9 kB / 0.9101 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01621/0.2675, allocations: 7.108 MB / 0.917 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04534/0.3128, allocations: 25.63 MB / 0.9421 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005205/0.318, allocations: 2.902 MB / 0.9449 GB, free: 8.832 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0033/0.3213, allocations: 1.945 MB / 0.9468 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.3214, allocations: 34 kB / 0.9468 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.28e-05/0.3215, allocations: 60.56 kB / 0.9469 GB, free: 6.793 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=209): time 4.899e-06/0.3215, allocations: 0 / 0.9469 GB, free: 6.793 MB / 0.9011 GB Notification: Performance of matching and sorting (n=212): time 0.02631/0.3478, allocations: 10.33 MB / 0.957 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.3479, allocations: 73.41 kB / 0.957 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.3505, allocations: 1.782 MB / 0.9588 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.3507, allocations: 65.7 kB / 0.9588 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002079/0.3527, allocations: 2.473 MB / 0.9613 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007909/0.3535, allocations: 0.7629 MB / 0.962 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008153/0.3544, allocations: 473.5 kB / 0.9624 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3545, allocations: 305.1 kB / 0.9627 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/0.3568, allocations: 1.333 MB / 0.964 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003096/0.3599, allocations: 2.198 MB / 0.9662 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005998/0.3659, allocations: 3.875 MB / 0.97 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.3659, allocations: 8 kB / 0.97 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009596/0.3755, allocations: 5.144 MB / 0.975 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.3756, allocations: 16 kB / 0.975 GB, free: 9.066 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.909e-05/0.3756, allocations: 28 kB / 0.975 GB, free: 9.039 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004489/0.3801, allocations: 1.657 MB / 0.9767 GB, free: 7.375 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.3819, allocations: 463.2 kB / 0.9771 GB, free: 6.922 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02738/0.4093, allocations: 17.88 MB / 0.9946 GB, free: 4.641 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.4115, allocations: 151.9 kB / 0.9947 GB, free: 4.492 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003415/0.4118, allocations: 112 kB / 0.9948 GB, free: 4.383 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003562/0.4154, allocations: 1.957 MB / 0.9967 GB, free: 2.414 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008098/0.4162, allocations: 346.3 kB / 0.9971 GB, free: 2.074 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008559/0.4247, allocations: 4.393 MB / 1.001 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.4248, allocations: 20 kB / 1.001 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.899e-05/0.4248, allocations: 20 kB / 1.001 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.4248, allocations: 15.95 kB / 1.001 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.4409, allocations: 8.338 MB / 1.01 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.4409, allocations: 4 kB / 1.01 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.442, allocations: 231.6 kB / 1.01 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004327/0.4463, allocations: 1.499 MB / 1.011 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002241/0.4466, allocations: 44 kB / 1.011 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02773/0.4743, allocations: 17.86 MB / 1.029 GB, free: 1.082 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/0.4743, allocations: 15.86 kB / 1.029 GB, free: 1.066 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009053/0.4834, allocations: 4.537 MB / 1.033 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/0.4849, allocations: 0.545 MB / 1.034 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005183/0.4854, allocations: 43.95 kB / 1.034 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.4868, allocations: 115.9 kB / 1.034 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005679/0.4873, allocations: 193.5 kB / 1.034 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/0.4875, allocations: 56 kB / 1.034 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001968/0.4895, allocations: 1.125 MB / 1.035 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.4895, allocations: 0 / 1.035 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003537/0.493, allocations: 1.141 MB / 1.036 GB, free: 9.211 MB / 0.9948 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003609/0.4934, allocations: 162.9 kB / 1.036 GB, free: 9.043 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008625/0.502, allocations: 4.527 MB / 1.041 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.502, allocations: 6 kB / 1.041 GB, free: 4.465 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005296/0.5073, allocations: 2.811 MB / 1.044 GB, free: 1.598 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/0.5112, allocations: 0.8237 MB / 1.044 GB, free: 0.7891 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3227/0.8339, allocations: 9.633 MB / 1.054 GB, free: 272.5 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003179/0.8371, allocations: 3.162 MB / 1.057 GB, free: 272.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001615/0.8387, allocations: 0.533 MB / 1.057 GB, free: 272.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.839, allocations: 138.9 kB / 1.058 GB, free: 272.2 MB / 0.9948 GB Notification: Performance of SimCode: time 9.42e-07/0.839, allocations: 0 / 1.058 GB, free: 272.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.07176/0.9108, allocations: 51.69 MB / 1.108 GB, free: 255.3 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.895049498067237]