Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001183, allocations: 103.7 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 189.8 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001565, allocations: 69.66 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2826, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01357/0.2962, allocations: 10.09 MB / 0.9601 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006529/0.3028, allocations: 3.182 MB / 0.9632 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.3039, allocations: 35.81 kB / 0.9633 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.3059, allocations: 0.5985 MB / 0.9639 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.3082, allocations: 0.7271 MB / 0.9646 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.3102, allocations: 0.7486 MB / 0.9653 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003811/0.3141, allocations: 2.988 MB / 0.9682 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003783/0.3179, allocations: 2.61 MB / 0.9708 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.3201, allocations: 1.25 MB / 0.972 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.3229, allocations: 1.562 MB / 0.9735 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007721/0.3237, allocations: 236 kB / 0.9737 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.3252, allocations: 0.4993 MB / 0.9742 GB, free: 224 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001639/0.3269, allocations: 1.076 MB / 0.9753 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002283/0.3292, allocations: 1.109 MB / 0.9764 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004703/0.3339, allocations: 3.665 MB / 0.9799 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3339, allocations: 0 / 0.9799 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3339, allocations: 0 / 0.9799 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001066/0.334, allocations: 0 / 0.9799 GB, free: 10.35 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00558/0.3396, allocations: 2.142 MB / 0.982 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3397, allocations: 8.031 kB / 0.982 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009743/0.3494, allocations: 1.321 MB / 0.9833 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/0.3525, allocations: 1.251 MB / 0.9846 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.3526, allocations: 123.3 kB / 0.9847 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006944/0.3533, allocations: 144.3 kB / 0.9848 GB, free: 5.262 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007218/0.3606, allocations: 3.444 MB / 0.9882 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.033e-05/0.3607, allocations: 0 / 0.9882 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003754/0.361, allocations: 63.97 kB / 0.9882 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002719/0.3613, allocations: 203.1 kB / 0.9884 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005516/0.3668, allocations: 3.127 MB / 0.9915 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/0.3864, allocations: 13.62 MB / 1.005 GB, free: 15.83 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.3892, allocations: 1.735 MB / 1.006 GB, free: 14.08 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.3913, allocations: 1.436 MB / 1.008 GB, free: 12.64 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-05/0.3914, allocations: 12.98 kB / 1.008 GB, free: 12.63 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.3914, allocations: 43.56 kB / 1.008 GB, free: 12.58 MB / 0.795 GB Notification: Performance of pre-optimization done (n=104): time 4.328e-06/0.3914, allocations: 0 / 1.008 GB, free: 12.58 MB / 0.795 GB Notification: Performance of matching and sorting (n=183): time 0.157/0.5485, allocations: 36.68 MB / 1.044 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.5486, allocations: 69.41 kB / 1.044 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.5504, allocations: 1.05 MB / 1.045 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003772/0.5508, allocations: 53.7 kB / 1.045 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000573/0.5514, allocations: 0.7911 MB / 1.046 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008933/0.5523, allocations: 0.6161 MB / 1.046 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009476/0.5532, allocations: 367.3 kB / 1.047 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5533, allocations: 305.1 kB / 1.047 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/0.5563, allocations: 1.928 MB / 1.049 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/0.5596, allocations: 2.289 MB / 1.051 GB, free: 104 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006173/0.5658, allocations: 4.386 MB / 1.055 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.5658, allocations: 4 kB / 1.055 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02194/0.5878, allocations: 9.024 MB / 1.064 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.5879, allocations: 18.47 kB / 1.064 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.5879, allocations: 8 kB / 1.064 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01794/0.6058, allocations: 5.003 MB / 1.069 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/0.6069, allocations: 195.6 kB / 1.069 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5165/1.123, allocations: 38.91 MB / 1.107 GB, free: 112.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/1.126, allocations: 101.4 kB / 1.107 GB, free: 112.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/1.126, allocations: 68.08 kB / 1.107 GB, free: 112.6 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001314/1.127, allocations: 0.8044 MB / 1.108 GB, free: 112.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/1.128, allocations: 142.9 kB / 1.108 GB, free: 112.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01973/1.147, allocations: 8.896 MB / 1.117 GB, free: 109.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.147, allocations: 18.31 kB / 1.117 GB, free: 109.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.763e-05/1.147, allocations: 33.59 kB / 1.117 GB, free: 109.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.974e-05/1.147, allocations: 12.34 kB / 1.117 GB, free: 109.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02515/1.173, allocations: 13.29 MB / 1.13 GB, free: 104.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/1.173, allocations: 6.812 kB / 1.13 GB, free: 104.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/1.173, allocations: 123.8 kB / 1.13 GB, free: 104.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01596/1.189, allocations: 4.784 MB / 1.135 GB, free: 102.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003193/1.19, allocations: 35.88 kB / 1.135 GB, free: 102.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04489/1.234, allocations: 34.86 MB / 1.169 GB, free: 72.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.234, allocations: 7.938 kB / 1.169 GB, free: 72.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/1.252, allocations: 8.404 MB / 1.177 GB, free: 63.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.254, allocations: 0.6105 MB / 1.178 GB, free: 63.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005398/1.254, allocations: 41.83 kB / 1.178 GB, free: 63.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/1.256, allocations: 95.88 kB / 1.178 GB, free: 63.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008762/1.257, allocations: 161.6 kB / 1.178 GB, free: 62.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/1.257, allocations: 48 kB / 1.178 GB, free: 62.81 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009393/1.258, allocations: 0.7382 MB / 1.179 GB, free: 62.06 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.258, allocations: 0 / 1.179 GB, free: 62.06 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003189/1.261, allocations: 1.008 MB / 1.18 GB, free: 61.05 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003334/1.261, allocations: 149.2 kB / 1.18 GB, free: 60.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.009891/1.271, allocations: 6.711 MB / 1.186 GB, free: 54.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.271, allocations: 0 / 1.186 GB, free: 54.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00728/1.279, allocations: 3.843 MB / 1.19 GB, free: 50.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.28, allocations: 237.5 kB / 1.19 GB, free: 50.05 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007862/1.288, allocations: 5.268 MB / 1.196 GB, free: 44.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/1.29, allocations: 1.892 MB / 1.197 GB, free: 42.83 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/1.29, allocations: 67.42 kB / 1.197 GB, free: 42.76 MB / 0.8575 GB Notification: Performance of SimCode: time 8.92e-07/1.29, allocations: 0 / 1.197 GB, free: 42.76 MB / 0.8575 GB Notification: Performance of Templates: time 0.06776/1.358, allocations: 69.02 MB / 1.265 GB, free: 5.754 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches