Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001702/0.001702, allocations: 79.34 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002053/0.002053, allocations: 160.6 kB / 23.01 MB, free: 4.602 MB / 14.72 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.805/2.805, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 67.91 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8805, allocations: 176.1 MB / 1.154 GB, free: 33.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03188/0.9124, allocations: 33.67 MB / 1.187 GB, free: 12.28 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.9287, allocations: 10.03 MB / 1.197 GB, free: 5.625 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003786/0.9325, allocations: 191.8 kB / 1.197 GB, free: 5.535 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009485/0.942, allocations: 3.816 MB / 1.201 GB, free: 3.379 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006077/0.948, allocations: 2.153 MB / 1.203 GB, free: 2.031 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005111/0.9532, allocations: 1.962 MB / 1.205 GB, free: 0.9219 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01142/0.9646, allocations: 7.969 MB / 1.212 GB, free: 13.26 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009662/0.9742, allocations: 5.225 MB / 1.217 GB, free: 10.64 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007176/0.9814, allocations: 3.502 MB / 1.221 GB, free: 9.043 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008492/0.9899, allocations: 3.7 MB / 1.224 GB, free: 7.641 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002441/0.9923, allocations: 0.6787 MB / 1.225 GB, free: 7.641 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00538/0.9977, allocations: 1.35 MB / 1.226 GB, free: 7.402 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005577/1.003, allocations: 2.69 MB / 1.229 GB, free: 6.223 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00823/1.012, allocations: 2.52 MB / 1.232 GB, free: 4.816 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01753/1.029, allocations: 10.46 MB / 1.242 GB, free: 1.5 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.029, allocations: 0.7812 kB / 1.242 GB, free: 1.5 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.633e-06/1.029, allocations: 0 / 1.242 GB, free: 1.5 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003153/1.029, allocations: 1 kB / 1.242 GB, free: 1.5 MB / 1.092 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.01824/1.048, allocations: 5.466 MB / 1.247 GB, free: 13.96 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.048, allocations: 13.34 kB / 1.247 GB, free: 13.95 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006091/1.054, allocations: 0.9999 MB / 1.248 GB, free: 13.47 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008492/1.062, allocations: 3.135 MB / 1.251 GB, free: 11.47 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003585/1.063, allocations: 357.3 kB / 1.251 GB, free: 11.31 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001865/1.064, allocations: 465.3 kB / 1.252 GB, free: 11.16 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/1.086, allocations: 8.671 MB / 1.26 GB, free: 5.273 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/1.087, allocations: 23.7 kB / 1.26 GB, free: 5.258 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/1.089, allocations: 207.7 kB / 1.261 GB, free: 5.105 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007167/1.089, allocations: 365 kB / 1.261 GB, free: 5.016 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/1.105, allocations: 5.931 MB / 1.267 GB, free: 1.953 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04402/1.149, allocations: 22.95 MB / 1.289 GB, free: 13.07 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/1.153, allocations: 1.991 MB / 1.291 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/1.156, allocations: 1.328 MB / 1.292 GB, free: 9.746 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/1.156, allocations: 17.31 kB / 1.292 GB, free: 9.727 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/1.156, allocations: 55.78 kB / 1.292 GB, free: 9.664 MB / 1.139 GB Notification: Performance of pre-optimization done (n=157): time 3.747e-06/1.156, allocations: 0 / 1.292 GB, free: 9.664 MB / 1.139 GB Notification: Performance of matching and sorting (n=160): time 0.01582/1.172, allocations: 6.667 MB / 1.299 GB, free: 2.953 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/1.172, allocations: 68.72 kB / 1.299 GB, free: 2.875 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/1.175, allocations: 1.701 MB / 1.301 GB, free: 1.137 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001955/1.175, allocations: 57.7 kB / 1.301 GB, free: 1.074 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001813/1.177, allocations: 2.195 MB / 1.303 GB, free: 14.86 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000652/1.177, allocations: 0.5849 MB / 1.303 GB, free: 14.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007621/1.178, allocations: 404 kB / 1.304 GB, free: 13.86 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.178, allocations: 305.1 kB / 1.304 GB, free: 13.56 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/1.18, allocations: 1.062 MB / 1.305 GB, free: 12.5 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/1.184, allocations: 1.756 MB / 1.307 GB, free: 10.42 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006878/1.191, allocations: 3.049 MB / 1.31 GB, free: 7.059 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.589e-05/1.191, allocations: 4 kB / 1.31 GB, free: 7.055 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01256/1.203, allocations: 3.89 MB / 1.314 GB, free: 3.121 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/1.203, allocations: 13 kB / 1.314 GB, free: 3.109 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-05/1.204, allocations: 28 kB / 1.314 GB, free: 3.082 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004233/1.208, allocations: 0.9311 MB / 1.315 GB, free: 2.113 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/1.211, allocations: 435.2 kB / 1.315 GB, free: 1.688 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03929/1.25, allocations: 21.11 MB / 1.336 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/1.254, allocations: 119.9 kB / 1.336 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004022/1.254, allocations: 100.6 kB / 1.336 GB, free: 11.14 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.00485/1.259, allocations: 1.655 MB / 1.337 GB, free: 9.473 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008398/1.26, allocations: 250.5 kB / 1.338 GB, free: 9.227 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.271, allocations: 3.229 MB / 1.341 GB, free: 5.945 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/1.271, allocations: 16 kB / 1.341 GB, free: 5.93 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/1.271, allocations: 8 kB / 1.341 GB, free: 5.922 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/1.271, allocations: 7.969 kB / 1.341 GB, free: 5.914 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02329/1.294, allocations: 6.453 MB / 1.347 GB, free: 15.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/1.294, allocations: 4 kB / 1.347 GB, free: 15.33 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/1.296, allocations: 219.6 kB / 1.347 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005147/1.301, allocations: 0.8961 MB / 1.348 GB, free: 14.18 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/1.302, allocations: 28 kB / 1.348 GB, free: 14.15 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0275/1.329, allocations: 21.08 MB / 1.369 GB, free: 7.836 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.329, allocations: 12.25 kB / 1.369 GB, free: 7.824 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006514/1.336, allocations: 3.341 MB / 1.372 GB, free: 4.367 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/1.337, allocations: 454.3 kB / 1.373 GB, free: 3.922 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005878/1.338, allocations: 32 kB / 1.373 GB, free: 3.891 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.339, allocations: 87.89 kB / 1.373 GB, free: 3.805 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004083/1.339, allocations: 156.9 kB / 1.373 GB, free: 3.648 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.34, allocations: 44 kB / 1.373 GB, free: 3.605 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001898/1.341, allocations: 1.087 MB / 1.374 GB, free: 2.5 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.341, allocations: 0 / 1.374 GB, free: 2.5 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003496/1.345, allocations: 0.9062 MB / 1.375 GB, free: 1.594 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.0003142/1.345, allocations: 155.5 kB / 1.375 GB, free: 1.434 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007142/1.352, allocations: 4.295 MB / 1.379 GB, free: 12.99 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/1.352, allocations: 7.938 kB / 1.379 GB, free: 12.98 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004674/1.357, allocations: 2.902 MB / 1.382 GB, free: 9.922 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/1.361, allocations: 0.7672 MB / 1.383 GB, free: 9.168 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.377, allocations: 7.803 MB / 1.39 GB, free: 1.266 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005027/1.382, allocations: 2.657 MB / 1.393 GB, free: 14.57 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002001/1.384, allocations: 0.5161 MB / 1.394 GB, free: 14.05 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/1.385, allocations: 136.5 kB / 1.394 GB, free: 13.92 MB / 1.248 GB Notification: Performance of SimCode: time 7.01e-07/1.385, allocations: 0 / 1.394 GB, free: 13.92 MB / 1.248 GB Notification: Performance of Templates: time 0.07929/1.464, allocations: 42.48 MB / 1.435 GB, free: 4.375 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.415879710926674]