Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 104.1 kB / 16.27 MB, free: 5.898 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.001691/0.001691, allocations: 185.1 kB / 17.19 MB, free: 5.539 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.421/1.421, 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 10.1.1-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 71.69 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3217, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02869/0.3504, allocations: 23.41 MB / 1.041 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.3626, allocations: 6.496 MB / 1.047 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002673/0.3654, allocations: 95.56 kB / 1.047 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004369/0.3698, allocations: 1.485 MB / 1.049 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005121/0.3749, allocations: 1.828 MB / 1.051 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004506/0.3794, allocations: 1.459 MB / 1.052 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009304/0.3888, allocations: 6.927 MB / 1.059 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.3997, allocations: 6.993 MB / 1.066 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004951/0.4047, allocations: 2.824 MB / 1.068 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005736/0.4105, allocations: 3.486 MB / 1.072 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001854/0.4124, allocations: 0.5273 MB / 1.072 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003642/0.4161, allocations: 1.174 MB / 1.073 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.4808/0.8969, allocations: 2.454 MB / 1.076 GB, free: 28.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004779/0.9017, allocations: 2.531 MB / 1.078 GB, free: 28.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.914, allocations: 8.464 MB / 1.086 GB, free: 27.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9141, allocations: 0 / 1.086 GB, free: 27.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.856e-06/0.9141, allocations: 1.219 kB / 1.086 GB, free: 27.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002785/0.9144, allocations: 0 / 1.086 GB, free: 27.43 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01502/0.9294, allocations: 4.428 MB / 1.091 GB, free: 25.67 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9295, allocations: 11.44 kB / 1.091 GB, free: 25.67 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.9401, allocations: 1.683 MB / 1.092 GB, free: 25.44 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006916/0.9471, allocations: 2.571 MB / 1.095 GB, free: 24.85 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003/0.9474, allocations: 275.3 kB / 1.095 GB, free: 24.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/0.9497, allocations: 363.3 kB / 1.096 GB, free: 24.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.9696, allocations: 7.489 MB / 1.103 GB, free: 23.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/0.9698, allocations: 19.78 kB / 1.103 GB, free: 23.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008474/0.9706, allocations: 161.4 kB / 1.103 GB, free: 23.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006375/0.9713, allocations: 485.2 kB / 1.104 GB, free: 23.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/0.9828, allocations: 5.7 MB / 1.109 GB, free: 21.47 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03791/1.021, allocations: 31.72 MB / 1.14 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/1.024, allocations: 2.093 MB / 1.142 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00346/1.028, allocations: 2.176 MB / 1.144 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/1.028, allocations: 16.44 kB / 1.144 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/1.028, allocations: 49.38 kB / 1.144 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=146): time 4.158e-06/1.028, allocations: 4 kB / 1.144 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=251): time 0.3262/1.354, allocations: 76.99 MB / 1.219 GB, free: 9.285 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/1.354, allocations: 77.41 kB / 1.22 GB, free: 9.199 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/1.357, allocations: 1.67 MB / 1.221 GB, free: 7.484 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006581/1.358, allocations: 65.7 kB / 1.221 GB, free: 7.414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/1.359, allocations: 1.737 MB / 1.223 GB, free: 5.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.36, allocations: 0.8638 MB / 1.224 GB, free: 4.805 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/1.361, allocations: 481.2 kB / 1.224 GB, free: 4.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.362, allocations: 313 kB / 1.225 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/1.365, allocations: 2.726 MB / 1.227 GB, free: 1.289 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/1.37, allocations: 3.335 MB / 1.23 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008549/1.378, allocations: 6.393 MB / 1.237 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.378, allocations: 4 kB / 1.237 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03405/1.412, allocations: 14.67 MB / 1.251 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/1.413, allocations: 16.19 kB / 1.251 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/1.413, allocations: 20 kB / 1.251 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03111/1.444, allocations: 9.309 MB / 1.26 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.445, allocations: 305.9 kB / 1.26 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08356/1.529, allocations: 52.39 MB / 1.312 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/1.532, allocations: 227.7 kB / 1.312 GB, free: 9.723 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006159/1.533, allocations: 96 kB / 1.312 GB, free: 9.629 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003879/1.537, allocations: 1.58 MB / 1.313 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008508/1.538, allocations: 245 kB / 1.314 GB, free: 7.816 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03545/1.573, allocations: 14.75 MB / 1.328 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/1.573, allocations: 27 kB / 1.328 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001551/1.573, allocations: 44 kB / 1.328 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-05/1.573, allocations: 19.94 kB / 1.328 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04539/1.619, allocations: 20.52 MB / 1.348 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.16e-05/1.619, allocations: 4 kB / 1.348 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009107/1.62, allocations: 166.6 kB / 1.348 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03003/1.65, allocations: 9.058 MB / 1.357 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000662/1.651, allocations: 47.98 kB / 1.357 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08292/1.734, allocations: 51.95 MB / 1.408 GB, free: 6.668 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/1.734, allocations: 11.75 kB / 1.408 GB, free: 6.66 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03326/1.767, allocations: 14.36 MB / 1.422 GB, free: 8.355 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/1.769, allocations: 0.8533 MB / 1.423 GB, free: 7.48 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007855/1.77, allocations: 47.94 kB / 1.423 GB, free: 7.434 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/1.773, allocations: 207.7 kB / 1.423 GB, free: 7.23 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001296/1.774, allocations: 244.1 kB / 1.423 GB, free: 7 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.774, allocations: 64 kB / 1.423 GB, free: 6.938 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001675/1.776, allocations: 1.128 MB / 1.425 GB, free: 5.789 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.91e-07/1.776, allocations: 0 / 1.425 GB, free: 5.789 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.005284/1.781, allocations: 1.613 MB / 1.426 GB, free: 4.176 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004601/1.782, allocations: 172.3 kB / 1.426 GB, free: 4.012 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0255/1.807, allocations: 11.32 MB / 1.437 GB, free: 8.695 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.807, allocations: 4 kB / 1.437 GB, free: 8.691 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.01885/1.826, allocations: 7.31 MB / 1.444 GB, free: 1.312 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/1.83, allocations: 0.5532 MB / 1.445 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/1.848, allocations: 9.409 MB / 1.454 GB, free: 7.289 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004832/1.853, allocations: 3.302 MB / 1.457 GB, free: 3.949 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/1.854, allocations: 103.4 kB / 1.458 GB, free: 3.848 MB / 1.154 GB Notification: Performance of SimCode: time 7.51e-07/1.854, allocations: 0 / 1.458 GB, free: 3.848 MB / 1.154 GB Notification: Performance of Templates: time 0.6501/2.504, allocations: 187.6 MB / 1.641 GB, free: 370.8 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches