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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 106.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7634 GB, free: 10.95 MB / 0.6231 GB [Timeout remaining time 86] 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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 0.001974/0.001974, allocations: 75.88 kB / 1.108 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8768/0.8787, allocations: 168.7 MB / 1.272 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04513/0.9239, allocations: 35.71 MB / 1.307 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01907/0.9429, allocations: 10.06 MB / 1.317 GB, free: 6.844 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.9463, allocations: 147.2 kB / 1.317 GB, free: 6.699 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.9566, allocations: 3.863 MB / 1.321 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006578/0.9632, allocations: 2.146 MB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005868/0.9691, allocations: 2.017 MB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01196/0.981, allocations: 7.967 MB / 1.333 GB, free: 6.664 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/0.9925, allocations: 7.121 MB / 1.34 GB, free: 15.42 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006955/0.9995, allocations: 3.427 MB / 1.343 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007808/1.007, allocations: 3.933 MB / 1.347 GB, free: 8.035 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002425/1.01, allocations: 0.6797 MB / 1.348 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004613/1.014, allocations: 1.467 MB / 1.349 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004443/1.019, allocations: 2.689 MB / 1.352 GB, free: 3.191 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006835/1.026, allocations: 3.101 MB / 1.355 GB, free: 80 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01566/1.041, allocations: 10.41 MB / 1.365 GB, free: 5.645 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/1.041, allocations: 7.984 kB / 1.365 GB, free: 5.637 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.304e-06/1.041, allocations: 0 / 1.365 GB, free: 5.637 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003635/1.042, allocations: 4 kB / 1.365 GB, free: 5.633 MB / 1.061 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.01537/1.057, allocations: 5.534 MB / 1.37 GB, free: 20 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.057, allocations: 12.03 kB / 1.37 GB, free: 8 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006136/1.063, allocations: 0.9839 MB / 1.371 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007481/1.071, allocations: 3.188 MB / 1.374 GB, free: 11.78 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003615/1.071, allocations: 357.9 kB / 1.375 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/1.073, allocations: 476.3 kB / 1.375 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/1.09, allocations: 7.908 MB / 1.383 GB, free: 2.691 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/1.091, allocations: 27.7 kB / 1.383 GB, free: 2.664 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/1.092, allocations: 208 kB / 1.383 GB, free: 2.461 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005721/1.092, allocations: 365.1 kB / 1.384 GB, free: 2.102 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/1.105, allocations: 5.941 MB / 1.389 GB, free: 12.14 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04887/1.154, allocations: 36.01 MB / 1.424 GB, free: 4.902 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/1.158, allocations: 1.998 MB / 1.426 GB, free: 2.891 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/1.16, allocations: 1.332 MB / 1.428 GB, free: 1.559 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/1.16, allocations: 21.3 kB / 1.428 GB, free: 1.539 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/1.16, allocations: 55.88 kB / 1.428 GB, free: 1.477 MB / 1.123 GB Notification: Performance of pre-optimization done (n=157): time 3.477e-06/1.16, allocations: 0 / 1.428 GB, free: 1.477 MB / 1.123 GB Notification: Performance of matching and sorting (n=160): time 0.01517/1.175, allocations: 7.574 MB / 1.435 GB, free: 9.637 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/1.175, allocations: 72.66 kB / 1.435 GB, free: 9.555 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/1.179, allocations: 1.86 MB / 1.437 GB, free: 7.668 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001634/1.179, allocations: 53.7 kB / 1.437 GB, free: 7.609 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001782/1.181, allocations: 2.192 MB / 1.439 GB, free: 5.398 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006583/1.181, allocations: 0.5849 MB / 1.44 GB, free: 4.809 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007493/1.182, allocations: 411.9 kB / 1.44 GB, free: 4.398 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.182, allocations: 301.1 kB / 1.441 GB, free: 4.102 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/1.184, allocations: 1.062 MB / 1.442 GB, free: 3.035 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/1.186, allocations: 1.756 MB / 1.443 GB, free: 0.957 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004372/1.191, allocations: 3.052 MB / 1.446 GB, free: 13.59 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/1.191, allocations: 4 kB / 1.446 GB, free: 13.59 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007197/1.198, allocations: 3.902 MB / 1.45 GB, free: 9.637 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/1.198, allocations: 16 kB / 1.45 GB, free: 9.621 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.295e-05/1.198, allocations: 20 kB / 1.45 GB, free: 9.602 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/1.201, allocations: 0.9318 MB / 1.451 GB, free: 8.633 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.202, allocations: 431.2 kB / 1.451 GB, free: 8.211 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02389/1.226, allocations: 22.77 MB / 1.474 GB, free: 15.76 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/1.228, allocations: 119.9 kB / 1.474 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000423/1.229, allocations: 108.5 kB / 1.474 GB, free: 15.54 MB / 1.186 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.003273/1.232, allocations: 1.641 MB / 1.475 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/1.233, allocations: 270.3 kB / 1.476 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006213/1.239, allocations: 3.236 MB / 1.479 GB, free: 10.33 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/1.239, allocations: 23.98 kB / 1.479 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.338e-05/1.239, allocations: 12 kB / 1.479 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/1.239, allocations: 7.969 kB / 1.479 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/1.254, allocations: 7.521 MB / 1.486 GB, free: 2.609 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/1.254, allocations: 4 kB / 1.486 GB, free: 2.605 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009528/1.255, allocations: 215.6 kB / 1.487 GB, free: 2.395 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002529/1.257, allocations: 0.8924 MB / 1.487 GB, free: 1.465 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/1.257, allocations: 32 kB / 1.487 GB, free: 1.434 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02446/1.282, allocations: 22.73 MB / 1.51 GB, free: 9.016 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/1.282, allocations: 8.25 kB / 1.51 GB, free: 9.008 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00662/1.289, allocations: 3.365 MB / 1.513 GB, free: 5.531 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.29, allocations: 0.5384 MB / 1.513 GB, free: 4.973 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006079/1.291, allocations: 35.95 kB / 1.513 GB, free: 4.938 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.292, allocations: 95.88 kB / 1.514 GB, free: 4.844 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/1.292, allocations: 141 kB / 1.514 GB, free: 4.707 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/1.293, allocations: 48 kB / 1.514 GB, free: 4.66 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002319/1.295, allocations: 1.225 MB / 1.515 GB, free: 3.422 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.295, allocations: 0 / 1.515 GB, free: 3.422 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003433/1.298, allocations: 0.9023 MB / 1.516 GB, free: 2.52 MB / 1.217 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.0003564/1.299, allocations: 159.5 kB / 1.516 GB, free: 2.355 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007323/1.306, allocations: 4.298 MB / 1.52 GB, free: 13.9 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.306, allocations: 5 kB / 1.52 GB, free: 13.9 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004587/1.311, allocations: 2.905 MB / 1.523 GB, free: 10.84 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/1.315, allocations: 0.829 MB / 1.524 GB, free: 10.02 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/1.332, allocations: 8.476 MB / 1.532 GB, free: 1.441 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005209/1.338, allocations: 3.279 MB / 1.535 GB, free: 14.13 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007734/1.338, allocations: 159.4 kB / 1.535 GB, free: 13.98 MB / 1.248 GB Notification: Performance of SimCode: time 1.482e-06/1.338, allocations: 0 / 1.535 GB, free: 13.98 MB / 1.248 GB Notification: Performance of Templates: time 0.9763/2.315, allocations: 340.1 MB / 1.868 GB, free: 78.22 MB / 1.311 GB [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] 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/jenkins1/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