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.001652/0.001652, allocations: 112.8 kB / 17.08 MB, free: 6.008 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.001701/0.001701, allocations: 194.2 kB / 20.03 MB, free: 3.078 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.445/1.445, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.714/2.714, allocations: 437.1 MB / 0.7177 GB, free: 4.559 MB / 0.5606 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.001975/0.001975, allocations: 59.91 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3174, allocations: 151.6 MB / 1.176 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04744/0.3649, allocations: 37.95 MB / 1.213 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02177/0.3867, allocations: 11.01 MB / 1.224 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004233/0.391, allocations: 155.2 kB / 1.224 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0122/0.4033, allocations: 4.355 MB / 1.228 GB, free: 316 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008922/0.4122, allocations: 2.219 MB / 1.23 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006398/0.4187, allocations: 2.159 MB / 1.232 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01384/0.4325, allocations: 9.291 MB / 1.241 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01749/0.4501, allocations: 11.26 MB / 1.252 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008319/0.4584, allocations: 4 MB / 1.256 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.681/1.14, allocations: 4.504 MB / 1.261 GB, free: 26.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003615/1.143, allocations: 0.8242 MB / 1.262 GB, free: 26.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006077/1.149, allocations: 1.585 MB / 1.263 GB, free: 26.15 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006494/1.156, allocations: 3.149 MB / 1.266 GB, free: 26.15 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0146/1.17, allocations: 3.661 MB / 1.27 GB, free: 25.81 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02435/1.195, allocations: 12.33 MB / 1.282 GB, free: 24.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.195, allocations: 4.281 kB / 1.282 GB, free: 24.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/1.195, allocations: 0 / 1.282 GB, free: 24.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004941/1.195, allocations: 0 / 1.282 GB, free: 24.64 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.02639/1.222, allocations: 6.47 MB / 1.288 GB, free: 22.24 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/1.222, allocations: 9.625 kB / 1.288 GB, free: 22.24 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008317/1.23, allocations: 1.102 MB / 1.289 GB, free: 21.89 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009212/1.239, allocations: 3.627 MB / 1.293 GB, free: 21.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004573/1.24, allocations: 426.1 kB / 1.293 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002951/1.243, allocations: 0.5389 MB / 1.294 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02571/1.269, allocations: 9.377 MB / 1.303 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002503/1.269, allocations: 30.53 kB / 1.303 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002316/1.271, allocations: 246.4 kB / 1.303 GB, free: 18.53 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000669/1.272, allocations: 416.2 kB / 1.303 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/1.289, allocations: 7.129 MB / 1.31 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05543/1.344, allocations: 41.08 MB / 1.351 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004866/1.349, allocations: 3.117 MB / 1.354 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/1.352, allocations: 2.142 MB / 1.356 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/1.353, allocations: 20.66 kB / 1.356 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.325e-05/1.353, allocations: 68.47 kB / 1.356 GB, free: 9.582 MB / 1.029 GB Notification: Performance of pre-optimization done (n=209): time 3.987e-06/1.353, allocations: 0 / 1.356 GB, free: 9.582 MB / 1.029 GB Notification: Performance of matching and sorting (n=212): time 0.02585/1.378, allocations: 10.62 MB / 1.366 GB, free: 3.578 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/1.379, allocations: 80.53 kB / 1.366 GB, free: 3.508 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/1.382, allocations: 2.01 MB / 1.368 GB, free: 2.414 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004589/1.382, allocations: 61.48 kB / 1.368 GB, free: 2.355 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001792/1.384, allocations: 2.477 MB / 1.371 GB, free: 184 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.385, allocations: 0.7635 MB / 1.371 GB, free: 15.52 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000801/1.386, allocations: 481 kB / 1.372 GB, free: 15.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.386, allocations: 301.1 kB / 1.372 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/1.388, allocations: 1.377 MB / 1.373 GB, free: 14.24 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002609/1.39, allocations: 2.107 MB / 1.376 GB, free: 12.59 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004759/1.395, allocations: 3.758 MB / 1.379 GB, free: 10.11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/1.395, allocations: 5.969 kB / 1.379 GB, free: 10.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008609/1.404, allocations: 5.084 MB / 1.384 GB, free: 6.297 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/1.404, allocations: 19.47 kB / 1.384 GB, free: 6.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/1.404, allocations: 20.09 kB / 1.384 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003783/1.408, allocations: 1.597 MB / 1.386 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/1.41, allocations: 451.1 kB / 1.386 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02449/1.434, allocations: 18.6 MB / 1.404 GB, free: 1.152 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/1.437, allocations: 148 kB / 1.405 GB, free: 1.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003788/1.438, allocations: 108 kB / 1.405 GB, free: 0.9023 MB / 1.061 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.00416/1.442, allocations: 1.946 MB / 1.407 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007715/1.442, allocations: 302.2 kB / 1.407 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007841/1.45, allocations: 4.45 MB / 1.411 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/1.45, allocations: 23.98 kB / 1.411 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.413e-05/1.45, allocations: 16 kB / 1.411 GB, free: 10.22 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-05/1.45, allocations: 7.969 kB / 1.411 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/1.469, allocations: 9.681 MB / 1.421 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.469, allocations: 4 kB / 1.421 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.47, allocations: 233.8 kB / 1.421 GB, free: 300 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003503/1.474, allocations: 1.434 MB / 1.422 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002989/1.474, allocations: 39.84 kB / 1.422 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02505/1.499, allocations: 18.59 MB / 1.44 GB, free: 11.72 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.499, allocations: 4 kB / 1.44 GB, free: 11.72 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008843/1.508, allocations: 4.561 MB / 1.445 GB, free: 7.133 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002559/1.511, allocations: 0.6358 MB / 1.446 GB, free: 6.477 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007758/1.511, allocations: 47.94 kB / 1.446 GB, free: 6.43 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/1.513, allocations: 119 kB / 1.446 GB, free: 6.316 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006529/1.514, allocations: 181.1 kB / 1.446 GB, free: 6.145 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.514, allocations: 60 kB / 1.446 GB, free: 6.086 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002297/1.516, allocations: 1.311 MB / 1.447 GB, free: 4.766 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.61e-07/1.516, allocations: 0 / 1.447 GB, free: 4.766 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.005029/1.521, allocations: 1.141 MB / 1.448 GB, free: 3.625 MB / 1.107 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.0005129/1.522, allocations: 164.5 kB / 1.448 GB, free: 3.469 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.009341/1.531, allocations: 4.726 MB / 1.453 GB, free: 14.8 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/1.531, allocations: 4 kB / 1.453 GB, free: 14.8 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.005518/1.537, allocations: 2.925 MB / 1.456 GB, free: 11.86 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005175/1.542, allocations: 0.8962 MB / 1.457 GB, free: 11 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/1.563, allocations: 10.2 MB / 1.467 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006305/1.57, allocations: 3.784 MB / 1.471 GB, free: 12.91 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009564/1.571, allocations: 167.4 kB / 1.471 GB, free: 12.75 MB / 1.139 GB Notification: Performance of SimCode: time 6.71e-07/1.571, allocations: 0 / 1.471 GB, free: 12.75 MB / 1.139 GB Notification: Performance of Templates: time 0.2458/1.817, allocations: 172.1 MB / 1.639 GB, free: 0.9102 MB / 1.295 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: 23.097696069977246]