Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001572, allocations: 100.8 kB / 16.27 MB, free: 5.965 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.001721/0.001721, allocations: 192 kB / 17.2 MB, free: 5.59 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.347/1.347, 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.171/2.171, allocations: 390.2 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 66.16 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2689, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03722/0.3061, allocations: 32.6 MB / 0.9821 GB, free: 8.16 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.323, allocations: 10.27 MB / 0.9921 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.3258, allocations: 147.2 kB / 0.9923 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00934/0.3352, allocations: 3.717 MB / 0.9959 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005229/0.3404, allocations: 1.858 MB / 0.9977 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005709/0.3462, allocations: 2.139 MB / 0.9998 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008673/0.3549, allocations: 7.318 MB / 1.007 GB, free: 14.65 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01377/0.3687, allocations: 9.494 MB / 1.016 GB, free: 5.031 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005508/0.3742, allocations: 3.163 MB / 1.019 GB, free: 1.859 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005775/0.38, allocations: 3.474 MB / 1.023 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002201/0.3823, allocations: 0.6523 MB / 1.023 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004851/0.3872, allocations: 1.767 MB / 1.025 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004186/0.3914, allocations: 2.553 MB / 1.028 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00629/0.3977, allocations: 2.89 MB / 1.03 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.4116, allocations: 10.04 MB / 1.04 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.4116, allocations: 4 kB / 1.04 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4116, allocations: 0 / 1.04 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003383/0.412, allocations: 3.938 kB / 1.04 GB, free: 12.41 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01326/0.4252, allocations: 5.002 MB / 1.045 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.4253, allocations: 8.031 kB / 1.045 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006268/0.4316, allocations: 0.9551 MB / 1.046 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006236/0.4379, allocations: 2.859 MB / 1.049 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003509/0.4383, allocations: 349.7 kB / 1.049 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001613/0.4399, allocations: 476.2 kB / 1.05 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/0.4569, allocations: 7.659 MB / 1.057 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/0.4571, allocations: 27.72 kB / 1.057 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/0.4584, allocations: 200 kB / 1.057 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000389/0.4588, allocations: 316.9 kB / 1.058 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.4703, allocations: 5.71 MB / 1.063 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4864/0.9567, allocations: 35.08 MB / 1.097 GB, free: 105 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/0.96, allocations: 2.153 MB / 1.1 GB, free: 104 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.962, allocations: 1.258 MB / 1.101 GB, free: 103.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.9621, allocations: 17.75 kB / 1.101 GB, free: 103.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.9621, allocations: 49.58 kB / 1.101 GB, free: 103.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 3.837e-06/0.9622, allocations: 0 / 1.101 GB, free: 103.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.01463/0.9768, allocations: 7.093 MB / 1.108 GB, free: 99.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.9769, allocations: 67.17 kB / 1.108 GB, free: 99.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.9791, allocations: 1.482 MB / 1.109 GB, free: 99.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.9793, allocations: 47.11 kB / 1.109 GB, free: 99.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001634/0.981, allocations: 2.003 MB / 1.111 GB, free: 97.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007523/0.9817, allocations: 488.3 kB / 1.112 GB, free: 97.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006841/0.9824, allocations: 353.6 kB / 1.112 GB, free: 97.21 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.9825, allocations: 307.1 kB / 1.112 GB, free: 96.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.9841, allocations: 0.9111 MB / 1.113 GB, free: 96.58 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.9861, allocations: 1.595 MB / 1.115 GB, free: 95.37 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/0.99, allocations: 2.739 MB / 1.117 GB, free: 93.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/0.99, allocations: 7.156 kB / 1.118 GB, free: 93.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006686/0.9967, allocations: 3.533 MB / 1.121 GB, free: 92.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/0.9968, allocations: 18.72 kB / 1.121 GB, free: 92.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.9968, allocations: 24.94 kB / 1.121 GB, free: 92.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/0.9995, allocations: 0.9041 MB / 1.122 GB, free: 91.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/1.001, allocations: 345.1 kB / 1.122 GB, free: 91.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/1.018, allocations: 23.12 MB / 1.145 GB, free: 71.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.02, allocations: 107.8 kB / 1.145 GB, free: 71.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/1.021, allocations: 84.67 kB / 1.145 GB, free: 71.83 MB / 0.8575 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002746/1.023, allocations: 1.615 MB / 1.147 GB, free: 71.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005561/1.024, allocations: 207.2 kB / 1.147 GB, free: 71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005385/1.029, allocations: 2.994 MB / 1.15 GB, free: 69.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/1.029, allocations: 13.09 kB / 1.15 GB, free: 69.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.46e-05/1.029, allocations: 13.7 kB / 1.15 GB, free: 69.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/1.03, allocations: 4.984 kB / 1.15 GB, free: 69.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/1.045, allocations: 7.333 MB / 1.157 GB, free: 65.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.925e-05/1.045, allocations: 6.062 kB / 1.157 GB, free: 65.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008835/1.046, allocations: 181.1 kB / 1.157 GB, free: 65.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002261/1.048, allocations: 0.8193 MB / 1.158 GB, free: 64.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/1.048, allocations: 31.83 kB / 1.158 GB, free: 64.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/1.063, allocations: 21.95 MB / 1.179 GB, free: 44.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.063, allocations: 11.62 kB / 1.179 GB, free: 44.33 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004806/1.068, allocations: 3.016 MB / 1.182 GB, free: 42.47 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.069, allocations: 459.7 kB / 1.183 GB, free: 42.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004736/1.069, allocations: 42.78 kB / 1.183 GB, free: 42.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.07, allocations: 68.75 kB / 1.183 GB, free: 42.06 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/1.071, allocations: 129.3 kB / 1.183 GB, free: 41.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/1.071, allocations: 38.12 kB / 1.183 GB, free: 41.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001367/1.072, allocations: 0.9726 MB / 1.184 GB, free: 41.42 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.072, allocations: 4 kB / 1.184 GB, free: 41.42 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003262/1.076, allocations: 0.7871 MB / 1.185 GB, free: 41.36 MB / 0.8575 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002567/1.076, allocations: 154.1 kB / 1.185 GB, free: 41.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006272/1.082, allocations: 4.644 MB / 1.189 GB, free: 38.43 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.082, allocations: 4.031 kB / 1.189 GB, free: 38.43 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003109/1.085, allocations: 2.734 MB / 1.192 GB, free: 35.67 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/1.089, allocations: 0.724 MB / 1.193 GB, free: 34.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.102, allocations: 7.841 MB / 1.2 GB, free: 27.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003679/1.106, allocations: 3.171 MB / 1.204 GB, free: 23.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/1.106, allocations: 131.4 kB / 1.204 GB, free: 23.75 MB / 0.8575 GB Notification: Performance of SimCode: time 8.12e-07/1.106, allocations: 0 / 1.204 GB, free: 23.75 MB / 0.8575 GB Notification: Performance of Templates: time 0.7733/1.88, allocations: 321.5 MB / 1.518 GB, free: 392.7 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches