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.00153/0.00153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.001981, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.444/2.444, allocations: 390.2 MB / 0.6646 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 59.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8326/0.834, allocations: 140.4 MB / 0.9496 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03756/0.8716, allocations: 35.14 MB / 0.9839 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01848/0.8902, allocations: 9.943 MB / 0.9936 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005529/0.8958, allocations: 147.3 kB / 0.9937 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.9062, allocations: 3.799 MB / 0.9975 GB, free: 0.8672 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006668/0.9129, allocations: 2.04 MB / 0.9995 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.9182, allocations: 1.965 MB / 1.001 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009597/0.9278, allocations: 7.959 MB / 1.009 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/0.9403, allocations: 9.606 MB / 1.019 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005774/0.9461, allocations: 3.361 MB / 1.022 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005811/0.9519, allocations: 3.73 MB / 1.025 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001882/0.9538, allocations: 0.6836 MB / 1.026 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/0.9578, allocations: 1.443 MB / 1.028 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003276/0.9611, allocations: 2.612 MB / 1.03 GB, free: 15.29 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005117/0.9662, allocations: 3.104 MB / 1.033 GB, free: 12.17 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.9788, allocations: 10.31 MB / 1.043 GB, free: 1.828 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.9788, allocations: 3.938 kB / 1.043 GB, free: 1.824 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9789, allocations: 0 / 1.043 GB, free: 1.824 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003129/0.9792, allocations: 0 / 1.043 GB, free: 1.824 MB / 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.01284/0.992, allocations: 5.405 MB / 1.048 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.9921, allocations: 8.031 kB / 1.048 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005287/0.9974, allocations: 0.9626 MB / 1.049 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006104/1.004, allocations: 2.995 MB / 1.052 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/1.004, allocations: 357.9 kB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/1.005, allocations: 472.2 kB / 1.053 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/1.02, allocations: 7.902 MB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/1.02, allocations: 15.88 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000565/1.021, allocations: 216 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005387/1.021, allocations: 369.1 kB / 1.061 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/1.034, allocations: 5.941 MB / 1.067 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04106/1.075, allocations: 36.21 MB / 1.103 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00338/1.078, allocations: 2.146 MB / 1.105 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/1.08, allocations: 1.484 MB / 1.106 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/1.08, allocations: 13.31 kB / 1.106 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/1.08, allocations: 59.75 kB / 1.106 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=157): time 4.238e-06/1.08, allocations: 0 / 1.106 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=160): time 0.01375/1.094, allocations: 7.536 MB / 1.114 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/1.094, allocations: 64.72 kB / 1.114 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/1.097, allocations: 1.864 MB / 1.115 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001743/1.097, allocations: 61.64 kB / 1.115 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/1.098, allocations: 2.123 MB / 1.118 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/1.098, allocations: 0.5585 MB / 1.118 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000573/1.099, allocations: 403.7 kB / 1.118 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/1.099, allocations: 301.1 kB / 1.119 GB, free: 280 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/1.101, allocations: 1.062 MB / 1.12 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/1.103, allocations: 1.768 MB / 1.122 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/1.106, allocations: 3.045 MB / 1.125 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/1.106, allocations: 8 kB / 1.125 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006113/1.112, allocations: 3.924 MB / 1.128 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/1.112, allocations: 16 kB / 1.128 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/1.112, allocations: 20 kB / 1.128 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/1.115, allocations: 0.9396 MB / 1.129 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/1.116, allocations: 427.3 kB / 1.13 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/1.136, allocations: 22.76 MB / 1.152 GB, free: 11.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/1.138, allocations: 124 kB / 1.152 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/1.138, allocations: 99.98 kB / 1.152 GB, free: 11.69 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.002376/1.141, allocations: 1.644 MB / 1.154 GB, free: 10.03 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004104/1.141, allocations: 253.1 kB / 1.154 GB, free: 9.781 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005181/1.146, allocations: 3.267 MB / 1.157 GB, free: 6.465 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.146, allocations: 16 kB / 1.157 GB, free: 6.449 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/1.146, allocations: 8 kB / 1.157 GB, free: 6.441 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/1.146, allocations: 7.969 kB / 1.157 GB, free: 6.434 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/1.16, allocations: 7.553 MB / 1.165 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.16, allocations: 4 kB / 1.165 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009963/1.161, allocations: 219.6 kB / 1.165 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/1.164, allocations: 0.8926 MB / 1.166 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/1.164, allocations: 28 kB / 1.166 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02326/1.187, allocations: 22.75 MB / 1.188 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.187, allocations: 8.062 kB / 1.188 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00617/1.193, allocations: 3.379 MB / 1.191 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.195, allocations: 0.5292 MB / 1.192 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003674/1.195, allocations: 40.19 kB / 1.192 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.196, allocations: 103.8 kB / 1.192 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004522/1.197, allocations: 133 kB / 1.192 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.197, allocations: 48 kB / 1.192 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002058/1.199, allocations: 1.225 MB / 1.193 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.71e-07/1.199, allocations: 0 / 1.193 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003471/1.202, allocations: 0.9023 MB / 1.194 GB, free: 14.59 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.0003896/1.203, allocations: 159 kB / 1.194 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008748/1.212, allocations: 5.202 MB / 1.199 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.212, allocations: 4 kB / 1.199 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004869/1.216, allocations: 2.996 MB / 1.202 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004723/1.221, allocations: 0.8122 MB / 1.203 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/1.236, allocations: 7.687 MB / 1.211 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004053/1.241, allocations: 3.205 MB / 1.214 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002099/1.243, allocations: 0.5293 MB / 1.214 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/1.243, allocations: 143.4 kB / 1.214 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of SimCode: time 2.295e-06/1.243, allocations: 0 / 1.214 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of Templates: time 0.6768/1.92, allocations: 42.92 MB / 1.256 GB, free: 276.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