Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.002625/0.002625, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.00301/0.00301, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.916/2.916, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.805e-05, allocations: 3.016 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.05104/0.05107, allocations: 35.41 MB / 0.821 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0206/0.07166, allocations: 10.15 MB / 0.8309 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003484/0.07515, allocations: 186.6 kB / 0.8311 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01161/0.08676, allocations: 3.939 MB / 0.8349 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.006996/0.09375, allocations: 2.21 MB / 0.8371 GB, free: 8.789 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.006395/0.1001, allocations: 1.984 MB / 0.839 GB, free: 6.801 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0125/0.1126, allocations: 8.141 MB / 0.847 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01065/0.1233, allocations: 5.257 MB / 0.8521 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01013/0.1334, allocations: 4.939 MB / 0.8569 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007369/0.1408, allocations: 3.698 MB / 0.8605 GB, free: 0.5938 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.1424, allocations: 0.6758 MB / 0.8612 GB, free: 15.91 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.1457, allocations: 1.373 MB / 0.8625 GB, free: 14.54 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.003458/0.1492, allocations: 2.833 MB / 0.8653 GB, free: 11.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003935/0.1531, allocations: 2.199 MB / 0.8674 GB, free: 9.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.1672, allocations: 10.64 MB / 0.8778 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1672, allocations: 4 kB / 0.8778 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1672, allocations: 0 / 0.8778 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002833/0.1675, allocations: 4 kB / 0.8778 GB, free: 14.82 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01521/0.1827, allocations: 6.216 MB / 0.8839 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1827, allocations: 8.031 kB / 0.8839 GB, free: 8.531 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005998/0.1887, allocations: 1.519 MB / 0.8854 GB, free: 7.008 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008645/0.1973, allocations: 3.118 MB / 0.8884 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/0.1977, allocations: 357.9 kB / 0.8888 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/0.1988, allocations: 484.3 kB / 0.8893 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/0.2118, allocations: 5.987 MB / 0.8951 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.2119, allocations: 23.98 kB / 0.8951 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000576/0.2125, allocations: 208.3 kB / 0.8953 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000625/0.2131, allocations: 365 kB / 0.8957 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006915/0.2201, allocations: 2.135 MB / 0.8978 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04782/0.2679, allocations: 31.46 MB / 0.9285 GB, free: 9.199 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.2711, allocations: 1.051 MB / 0.9295 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.2726, allocations: 0.7089 MB / 0.9302 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.2727, allocations: 25.31 kB / 0.9302 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.43e-05/0.2727, allocations: 54.7 kB / 0.9303 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=157): time 3.697e-06/0.2728, allocations: 0 / 0.9303 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of matching and sorting (n=160): time 0.01234/0.2851, allocations: 4.284 MB / 0.9345 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.2852, allocations: 68.72 kB / 0.9345 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/0.2886, allocations: 2.229 MB / 0.9367 GB, free: 0.6445 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.2888, allocations: 57.7 kB / 0.9367 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002202/0.291, allocations: 2.363 MB / 0.9391 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007298/0.2917, allocations: 0.6357 MB / 0.9397 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008346/0.2925, allocations: 477.9 kB / 0.9401 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002413/0.2928, allocations: 480.8 kB / 0.9406 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.2939, allocations: 0.508 MB / 0.9411 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.2962, allocations: 1.582 MB / 0.9426 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.2999, allocations: 2.277 MB / 0.9449 GB, free: 7.371 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.3, allocations: 12 kB / 0.9449 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006148/0.3061, allocations: 2.726 MB / 0.9475 GB, free: 4.574 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.3061, allocations: 23.97 kB / 0.9476 GB, free: 4.551 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/0.3062, allocations: 24 kB / 0.9476 GB, free: 4.527 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/0.3096, allocations: 0.8237 MB / 0.9484 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.3113, allocations: 431.2 kB / 0.9488 GB, free: 3.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02575/0.3371, allocations: 23.94 MB / 0.9722 GB, free: 9.812 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.3392, allocations: 127.9 kB / 0.9723 GB, free: 9.688 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/0.3394, allocations: 92 kB / 0.9724 GB, free: 9.598 MB / 0.9323 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001478/0.3409, allocations: 443.9 kB / 0.9728 GB, free: 9.152 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000579/0.3414, allocations: 310.4 kB / 0.9731 GB, free: 8.848 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/0.3464, allocations: 1.95 MB / 0.975 GB, free: 6.832 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.3464, allocations: 16 kB / 0.975 GB, free: 6.816 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.3464, allocations: 8 kB / 0.975 GB, free: 6.809 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.3464, allocations: 7.969 kB / 0.975 GB, free: 6.801 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.3608, allocations: 6.55 MB / 0.9814 GB, free: 76 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.3608, allocations: 4 kB / 0.9814 GB, free: 72 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.3619, allocations: 215.7 kB / 0.9816 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003286/0.3652, allocations: 0.8011 MB / 0.9824 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.3653, allocations: 32 kB / 0.9825 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02616/0.3915, allocations: 23.9 MB / 1.006 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.248e-06/0.3915, allocations: 7.984 kB / 1.006 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005419/0.3969, allocations: 2.276 MB / 1.008 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.3984, allocations: 434.3 kB / 1.008 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/0.3988, allocations: 35.95 kB / 1.008 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.3999, allocations: 95.88 kB / 1.009 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004499/0.4004, allocations: 140.9 kB / 1.009 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.4005, allocations: 48 kB / 1.009 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002122/0.4026, allocations: 1.227 MB / 1.01 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.4026, allocations: 0 / 1.01 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003328/0.4059, allocations: 0.914 MB / 1.011 GB, free: 268 kB / 0.9636 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003607/0.4063, allocations: 165 kB / 1.011 GB, free: 96 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00727/0.4136, allocations: 4.056 MB / 1.015 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.4136, allocations: 4 kB / 1.015 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005079/0.4187, allocations: 3.156 MB / 1.018 GB, free: 8.453 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/0.4226, allocations: 0.7717 MB / 1.019 GB, free: 7.695 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.4367, allocations: 7.167 MB / 1.026 GB, free: 388 kB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003804/0.4406, allocations: 2.383 MB / 1.028 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0018/0.4424, allocations: 448.5 kB / 1.029 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/0.4428, allocations: 132.5 kB / 1.029 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of SimCode: time 1.222e-06/0.4428, allocations: 0 / 1.029 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of Templates: time 0.4216/0.8644, allocations: 42.66 MB / 1.07 GB, free: 269.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.979764842079021]