Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) 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.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_11_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_11_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.001545/0.001545, allocations: 106 kB / 16.27 MB, free: 6.41 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.001585/0.001585, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.46/1.46, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 469.8 MB / 0.743 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 68.39 kB / 0.9092 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3805, allocations: 159.1 MB / 1.065 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01367/0.3942, allocations: 10.08 MB / 1.074 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006165/0.4004, allocations: 3.185 MB / 1.078 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007632/0.4012, allocations: 31.88 kB / 1.078 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.403, allocations: 0.5978 MB / 1.078 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.4048, allocations: 0.7388 MB / 1.079 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.6053/1.01, allocations: 0.7335 MB / 1.08 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003765/1.014, allocations: 2.991 MB / 1.083 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00364/1.018, allocations: 2.606 MB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/1.02, allocations: 1.249 MB / 1.086 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/1.023, allocations: 1.562 MB / 1.088 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006294/1.024, allocations: 234.9 kB / 1.088 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/1.026, allocations: 0.4944 MB / 1.089 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001592/1.027, allocations: 1.075 MB / 1.09 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002158/1.029, allocations: 1.112 MB / 1.091 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00637/1.036, allocations: 3.664 MB / 1.094 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.036, allocations: 4 kB / 1.094 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.715e-06/1.036, allocations: 3.938 kB / 1.094 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000145/1.036, allocations: 0.5625 kB / 1.094 GB, free: 10.32 MB / 0.8419 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.00736/1.043, allocations: 2.142 MB / 1.096 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/1.043, allocations: 10.25 kB / 1.096 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/1.053, allocations: 1.316 MB / 1.098 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/1.057, allocations: 1.252 MB / 1.099 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/1.057, allocations: 113.4 kB / 1.099 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008399/1.058, allocations: 149.3 kB / 1.099 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008161/1.066, allocations: 3.434 MB / 1.103 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.158e-05/1.066, allocations: 13.53 kB / 1.103 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/1.066, allocations: 67.72 kB / 1.103 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003328/1.067, allocations: 200.7 kB / 1.103 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006729/1.073, allocations: 3.126 MB / 1.106 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/1.097, allocations: 13.63 MB / 1.119 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/1.1, allocations: 1.726 MB / 1.121 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/1.103, allocations: 1.432 MB / 1.122 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/1.103, allocations: 11.77 kB / 1.122 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/1.103, allocations: 43.59 kB / 1.122 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=104): time 3.717e-06/1.103, allocations: 0.8438 kB / 1.122 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=183): time 0.1621/1.265, allocations: 36.67 MB / 1.158 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/1.265, allocations: 73.41 kB / 1.158 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/1.267, allocations: 1.05 MB / 1.159 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005265/1.267, allocations: 57.7 kB / 1.159 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006918/1.268, allocations: 0.7896 MB / 1.16 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009691/1.269, allocations: 0.625 MB / 1.161 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008789/1.27, allocations: 363.3 kB / 1.161 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.27, allocations: 305.1 kB / 1.161 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/1.273, allocations: 1.932 MB / 1.163 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003637/1.277, allocations: 2.283 MB / 1.165 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007107/1.284, allocations: 4.393 MB / 1.17 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/1.284, allocations: 4 kB / 1.17 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02382/1.308, allocations: 9.024 MB / 1.178 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/1.308, allocations: 11.94 kB / 1.178 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/1.308, allocations: 12 kB / 1.179 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01874/1.327, allocations: 4.997 MB / 1.183 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.328, allocations: 199.6 kB / 1.184 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06736/1.395, allocations: 38.94 MB / 1.222 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/1.398, allocations: 103.9 kB / 1.222 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005918/1.398, allocations: 68 kB / 1.222 GB, free: 5.285 MB / 0.9356 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.002592/1.401, allocations: 0.8017 MB / 1.223 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/1.402, allocations: 138.3 kB / 1.223 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02198/1.424, allocations: 8.89 MB / 1.231 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/1.424, allocations: 24 kB / 1.231 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001005/1.424, allocations: 31.98 kB / 1.231 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-05/1.424, allocations: 7.969 kB / 1.231 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03162/1.455, allocations: 13.29 MB / 1.244 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/1.456, allocations: 4 kB / 1.244 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006315/1.456, allocations: 123.8 kB / 1.245 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01827/1.475, allocations: 4.782 MB / 1.249 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005844/1.475, allocations: 32 kB / 1.249 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06278/1.538, allocations: 34.87 MB / 1.283 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.538, allocations: 4 kB / 1.283 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02251/1.56, allocations: 8.4 MB / 1.291 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.562, allocations: 0.6124 MB / 1.292 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/1.563, allocations: 39.94 kB / 1.292 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/1.565, allocations: 99.88 kB / 1.292 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009032/1.566, allocations: 157.6 kB / 1.292 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.566, allocations: 48 kB / 1.292 GB, free: 12.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001276/1.567, allocations: 0.7382 MB / 1.293 GB, free: 11.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/1.567, allocations: 0 / 1.293 GB, free: 11.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003982/1.571, allocations: 1.008 MB / 1.294 GB, free: 10.34 MB / 1.014 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.0003988/1.572, allocations: 143.1 kB / 1.294 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01326/1.585, allocations: 6.706 MB / 1.301 GB, free: 3.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.585, allocations: 0 / 1.301 GB, free: 3.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.009454/1.594, allocations: 3.838 MB / 1.305 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/1.596, allocations: 239.5 kB / 1.305 GB, free: 15.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.607, allocations: 5.266 MB / 1.31 GB, free: 9.992 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/1.609, allocations: 1.894 MB / 1.312 GB, free: 8.062 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/1.609, allocations: 67.42 kB / 1.312 GB, free: 7.996 MB / 1.029 GB Notification: Performance of SimCode: time 2.946e-06/1.609, allocations: 0 / 1.312 GB, free: 7.996 MB / 1.029 GB Notification: Performance of Templates: time 0.08967/1.699, allocations: 69.03 MB / 1.379 GB, free: 2.957 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches