Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002186/0.002186, allocations: 192.7 kB / 16.25 MB, free: 6.625 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.586/1.586, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.445/2.445, allocations: 390.2 MB / 0.6643 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.89 kB / 0.812 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7787/0.7802, allocations: 140.4 MB / 0.9491 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03804/0.8183, allocations: 34.81 MB / 0.9831 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01843/0.8368, allocations: 9.857 MB / 0.9927 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005304/0.8422, allocations: 131.3 kB / 0.9929 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.8525, allocations: 3.567 MB / 0.9963 GB, free: 1.555 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007433/0.86, allocations: 1.886 MB / 0.9982 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006088/0.8661, allocations: 1.781 MB / 0.9999 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01151/0.8776, allocations: 7.99 MB / 1.008 GB, free: 5.871 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02059/0.8983, allocations: 11.71 MB / 1.019 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007323/0.9056, allocations: 3.423 MB / 1.022 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008018/0.9137, allocations: 3.906 MB / 1.026 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002291/0.9161, allocations: 0.6836 MB / 1.027 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004742/0.9208, allocations: 1.44 MB / 1.028 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003905/0.9248, allocations: 2.627 MB / 1.031 GB, free: 13.93 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006303/0.9311, allocations: 3.097 MB / 1.034 GB, free: 10.82 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.9442, allocations: 10.38 MB / 1.044 GB, free: 420 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.9443, allocations: 4 kB / 1.044 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9443, allocations: 3.938 kB / 1.044 GB, free: 412 kB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003383/0.9446, allocations: 0 / 1.044 GB, free: 412 kB / 0.795 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.01454/0.9592, allocations: 5.405 MB / 1.049 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.9592, allocations: 12.03 kB / 1.049 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00522/0.9645, allocations: 0.9626 MB / 1.05 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006599/0.9711, allocations: 2.995 MB / 1.053 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/0.9714, allocations: 353.9 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001531/0.973, allocations: 468.2 kB / 1.054 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.9898, allocations: 7.91 MB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.99, allocations: 19.81 kB / 1.062 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005809/0.9906, allocations: 216 kB / 1.062 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005768/0.9911, allocations: 365.1 kB / 1.062 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/1.003, allocations: 5.933 MB / 1.068 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04376/1.047, allocations: 36.2 MB / 1.104 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/1.051, allocations: 2.158 MB / 1.106 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/1.053, allocations: 1.478 MB / 1.107 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.193e-05/1.053, allocations: 17.31 kB / 1.107 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/1.053, allocations: 63.75 kB / 1.107 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=157): time 3.317e-06/1.053, allocations: 0 / 1.107 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=160): time 0.01345/1.066, allocations: 7.529 MB / 1.114 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/1.066, allocations: 68.72 kB / 1.115 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/1.069, allocations: 1.864 MB / 1.116 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/1.069, allocations: 53.7 kB / 1.116 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.07, allocations: 2.131 MB / 1.118 GB, free: 128 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/1.071, allocations: 0.5584 MB / 1.119 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005844/1.072, allocations: 395.8 kB / 1.119 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.072, allocations: 305.1 kB / 1.12 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/1.073, allocations: 1.066 MB / 1.121 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/1.075, allocations: 1.76 MB / 1.122 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/1.079, allocations: 3.052 MB / 1.125 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/1.079, allocations: 11.98 kB / 1.125 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006762/1.086, allocations: 3.916 MB / 1.129 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/1.086, allocations: 22.17 kB / 1.129 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/1.086, allocations: 20 kB / 1.129 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/1.089, allocations: 0.9397 MB / 1.13 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/1.09, allocations: 423.3 kB / 1.131 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/1.11, allocations: 22.76 MB / 1.153 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/1.112, allocations: 135.9 kB / 1.153 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/1.113, allocations: 92 kB / 1.153 GB, free: 10.28 MB / 0.92 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.002889/1.116, allocations: 1.648 MB / 1.155 GB, free: 8.621 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005672/1.116, allocations: 253.1 kB / 1.155 GB, free: 8.371 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006117/1.122, allocations: 3.263 MB / 1.158 GB, free: 5.055 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/1.122, allocations: 16 kB / 1.158 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.717e-05/1.122, allocations: 16 kB / 1.158 GB, free: 5.023 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.122, allocations: 7.969 kB / 1.158 GB, free: 5.016 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/1.136, allocations: 7.549 MB / 1.166 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.136, allocations: 4 kB / 1.166 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/1.137, allocations: 215.7 kB / 1.166 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/1.14, allocations: 0.9004 MB / 1.167 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.14, allocations: 32 kB / 1.167 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/1.16, allocations: 22.73 MB / 1.189 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.16, allocations: 8.062 kB / 1.189 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/1.166, allocations: 3.387 MB / 1.192 GB, free: 208 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.167, allocations: 0.5293 MB / 1.193 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/1.167, allocations: 35.98 kB / 1.193 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.168, allocations: 95.83 kB / 1.193 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000419/1.169, allocations: 137 kB / 1.193 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.169, allocations: 55.92 kB / 1.193 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001721/1.171, allocations: 1.221 MB / 1.194 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.171, allocations: 0 / 1.194 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003147/1.174, allocations: 0.914 MB / 1.195 GB, free: 13.18 MB / 0.9669 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.0003052/1.174, allocations: 159 kB / 1.195 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007935/1.182, allocations: 5.194 MB / 1.2 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.182, allocations: 4 kB / 1.2 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004155/1.186, allocations: 2.996 MB / 1.203 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/1.19, allocations: 0.821 MB / 1.204 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.205, allocations: 9.703 MB / 1.214 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003863/1.209, allocations: 3.205 MB / 1.217 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0023/1.211, allocations: 0.5253 MB / 1.217 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/1.212, allocations: 143.4 kB / 1.217 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of SimCode: time 1.222e-06/1.212, allocations: 4 kB / 1.217 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of Templates: time 0.6586/1.87, allocations: 43.15 MB / 1.259 GB, free: 272.1 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches