Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001737/0.001737, allocations: 116.7 kB / 17.13 MB, free: 5.918 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.00209/0.00209, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.487/1.487, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.91 kB / 1.057 GB, free: 1.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3875, allocations: 160.7 MB / 1.214 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0484/0.4359, allocations: 38.59 MB / 1.252 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8692/1.305, allocations: 11.11 MB / 1.263 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005197/1.31, allocations: 156 kB / 1.263 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01087/1.321, allocations: 4.435 MB / 1.267 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00843/1.33, allocations: 2.333 MB / 1.269 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006896/1.337, allocations: 2.168 MB / 1.271 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01686/1.353, allocations: 9.288 MB / 1.281 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01699/1.37, allocations: 8.535 MB / 1.289 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/1.381, allocations: 4.055 MB / 1.293 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01101/1.392, allocations: 4.752 MB / 1.297 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003953/1.396, allocations: 0.8216 MB / 1.298 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008675/1.404, allocations: 1.61 MB / 1.3 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.01041/1.415, allocations: 3.231 MB / 1.303 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01605/1.431, allocations: 3.655 MB / 1.307 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02614/1.457, allocations: 12.34 MB / 1.319 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/1.457, allocations: 1.031 kB / 1.319 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.428e-06/1.457, allocations: 0 / 1.319 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000836/1.458, allocations: 0 / 1.319 GB, free: 2.816 MB / 0.9981 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.03129/1.489, allocations: 6.475 MB / 1.325 GB, free: 14.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/1.489, allocations: 9 kB / 1.325 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009221/1.498, allocations: 1.091 MB / 1.326 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/1.51, allocations: 3.633 MB / 1.33 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006038/1.51, allocations: 427.7 kB / 1.33 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003538/1.514, allocations: 0.5432 MB / 1.331 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0331/1.547, allocations: 9.372 MB / 1.34 GB, free: 5.695 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002793/1.547, allocations: 19.53 kB / 1.34 GB, free: 5.684 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003121/1.55, allocations: 251.6 kB / 1.34 GB, free: 5.508 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008607/1.551, allocations: 425.5 kB / 1.34 GB, free: 5.402 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02176/1.573, allocations: 7.124 MB / 1.347 GB, free: 1.742 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06205/1.635, allocations: 41.07 MB / 1.387 GB, free: 7.453 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005442/1.64, allocations: 2.914 MB / 1.39 GB, free: 4.535 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/1.644, allocations: 1.943 MB / 1.392 GB, free: 2.602 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/1.644, allocations: 22 kB / 1.392 GB, free: 2.578 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/1.644, allocations: 56.56 kB / 1.392 GB, free: 2.516 MB / 1.061 GB Notification: Performance of pre-optimization done (n=209): time 3.647e-06/1.644, allocations: 0 / 1.392 GB, free: 2.516 MB / 1.061 GB Notification: Performance of matching and sorting (n=212): time 0.02744/1.671, allocations: 10.58 MB / 1.403 GB, free: 7.852 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/1.671, allocations: 81.33 kB / 1.403 GB, free: 7.758 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003398/1.675, allocations: 2.002 MB / 1.405 GB, free: 5.738 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004999/1.675, allocations: 69.7 kB / 1.405 GB, free: 5.664 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002019/1.677, allocations: 2.475 MB / 1.407 GB, free: 3.172 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001111/1.678, allocations: 0.7681 MB / 1.408 GB, free: 2.414 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009013/1.679, allocations: 477.5 kB / 1.408 GB, free: 1.941 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.679, allocations: 305.1 kB / 1.409 GB, free: 1.641 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/1.682, allocations: 1.375 MB / 1.41 GB, free: 268 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/1.685, allocations: 2.108 MB / 1.412 GB, free: 13.84 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005516/1.69, allocations: 3.764 MB / 1.416 GB, free: 9.773 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/1.69, allocations: 8 kB / 1.416 GB, free: 9.766 MB / 1.092 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009403/1.699, allocations: 5.035 MB / 1.421 GB, free: 4.707 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/1.7, allocations: 16 kB / 1.421 GB, free: 4.691 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/1.7, allocations: 20 kB / 1.421 GB, free: 4.672 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003989/1.704, allocations: 1.584 MB / 1.422 GB, free: 3.078 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/1.706, allocations: 451.2 kB / 1.423 GB, free: 2.637 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02585/1.731, allocations: 18.6 MB / 1.441 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/1.734, allocations: 139.9 kB / 1.441 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005199/1.735, allocations: 116 kB / 1.441 GB, free: 15.24 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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.004856/1.74, allocations: 1.937 MB / 1.443 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009622/1.741, allocations: 306.2 kB / 1.443 GB, free: 12.99 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008127/1.749, allocations: 4.396 MB / 1.447 GB, free: 8.566 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/1.749, allocations: 20 kB / 1.447 GB, free: 8.547 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-05/1.749, allocations: 16 kB / 1.447 GB, free: 8.531 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/1.749, allocations: 11.97 kB / 1.448 GB, free: 8.52 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/1.768, allocations: 9.623 MB / 1.457 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/1.768, allocations: 8 kB / 1.457 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.769, allocations: 232.2 kB / 1.457 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00365/1.773, allocations: 1.44 MB / 1.459 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/1.773, allocations: 36 kB / 1.459 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02528/1.798, allocations: 18.59 MB / 1.477 GB, free: 9.93 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.798, allocations: 8.234 kB / 1.477 GB, free: 9.922 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008409/1.807, allocations: 4.503 MB / 1.481 GB, free: 5.332 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/1.809, allocations: 0.6475 MB / 1.482 GB, free: 4.664 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005263/1.809, allocations: 44 kB / 1.482 GB, free: 4.621 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.811, allocations: 119.9 kB / 1.482 GB, free: 4.504 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/1.811, allocations: 181.6 kB / 1.482 GB, free: 4.328 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/1.811, allocations: 52 kB / 1.482 GB, free: 4.277 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002097/1.814, allocations: 1.319 MB / 1.483 GB, free: 2.949 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.814, allocations: 0 / 1.483 GB, free: 2.949 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004309/1.818, allocations: 1.141 MB / 1.485 GB, free: 1.809 MB / 1.154 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.0004017/1.818, allocations: 167 kB / 1.485 GB, free: 1.637 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.008317/1.827, allocations: 4.541 MB / 1.489 GB, free: 13.07 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.827, allocations: 0 / 1.489 GB, free: 13.07 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.005227/1.832, allocations: 2.806 MB / 1.492 GB, free: 10.22 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005153/1.837, allocations: 0.8847 MB / 1.493 GB, free: 9.352 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/1.859, allocations: 10.2 MB / 1.503 GB, free: 15.05 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005983/1.865, allocations: 3.788 MB / 1.506 GB, free: 11.23 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009442/1.866, allocations: 163.4 kB / 1.507 GB, free: 11.07 MB / 1.186 GB Notification: Performance of SimCode: time 1.403e-06/1.866, allocations: 0 / 1.507 GB, free: 11.07 MB / 1.186 GB Notification: Performance of Templates: time 0.2564/2.122, allocations: 172.3 MB / 1.675 GB, free: 14.93 MB / 1.357 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 24.29553578910418]