Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001214/0.001214, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.484/2.484, allocations: 390.9 MB / 0.666 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004004, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8156, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04194/0.8576, allocations: 37.54 MB / 0.9911 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02344/0.8811, allocations: 14.39 MB / 1.005 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00466/0.8858, allocations: 163.1 kB / 1.005 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002862/0.8887, allocations: 0.8372 MB / 1.006 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007354/0.8961, allocations: 2.332 MB / 1.008 GB, free: 8.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006971/0.9031, allocations: 1.911 MB / 1.01 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01922/0.9223, allocations: 12.71 MB / 1.023 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02605/0.9484, allocations: 13.98 MB / 1.036 GB, free: 11.37 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009972/0.9584, allocations: 3.58 MB / 1.04 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/0.97, allocations: 4.645 MB / 1.044 GB, free: 3.117 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003284/0.9734, allocations: 403.9 kB / 1.045 GB, free: 2.723 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006301/0.9797, allocations: 0.8821 MB / 1.046 GB, free: 1.84 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.007573/0.9873, allocations: 2.973 MB / 1.049 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00555/0.9929, allocations: 1.385 MB / 1.05 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01693/1.01, allocations: 11.76 MB / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/1.01, allocations: 0 / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.015e-06/1.01, allocations: 0 / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0005281/1.01, allocations: 0 / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01749/1.028, allocations: 6.224 MB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.028, allocations: 12.03 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/1.039, allocations: 1.521 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/1.051, allocations: 4.101 MB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006096/1.052, allocations: 452.1 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002984/1.055, allocations: 0.6012 MB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02875/1.084, allocations: 10.63 MB / 1.084 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003928/1.084, allocations: 35.64 kB / 1.084 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002565/1.087, allocations: 263.9 kB / 1.085 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00264/1.089, allocations: 0.7768 MB / 1.085 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02179/1.111, allocations: 8.51 MB / 1.094 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07205/1.183, allocations: 47 MB / 1.14 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007097/1.19, allocations: 4.293 MB / 1.144 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00651/1.197, allocations: 3.673 MB / 1.147 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/1.198, allocations: 38.77 kB / 1.147 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.168e-05/1.198, allocations: 77.34 kB / 1.147 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=353): time 5.49e-06/1.198, allocations: 3.938 kB / 1.147 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of matching and sorting (n=578): time 1.192/2.389, allocations: 127.8 MB / 1.272 GB, free: 275.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/2.389, allocations: 114.4 kB / 1.272 GB, free: 275 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004856/2.394, allocations: 2.654 MB / 1.275 GB, free: 274.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00165/2.396, allocations: 121.4 kB / 1.275 GB, free: 274 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001848/2.398, allocations: 2.681 MB / 1.278 GB, free: 272.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002282/2.4, allocations: 1.952 MB / 1.28 GB, free: 270.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003974/2.401, allocations: 109.9 kB / 1.28 GB, free: 270.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002914/2.401, allocations: 0.5267 MB / 1.28 GB, free: 270.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006037/2.407, allocations: 4.061 MB / 1.284 GB, free: 268.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007478/2.414, allocations: 4.997 MB / 1.289 GB, free: 265.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008247/2.423, allocations: 4.819 MB / 1.294 GB, free: 263.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.473e-05/2.423, allocations: 7.906 kB / 1.294 GB, free: 263.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03563/2.458, allocations: 16.92 MB / 1.31 GB, free: 253.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/2.458, allocations: 12.78 kB / 1.31 GB, free: 253.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/2.458, allocations: 23.59 kB / 1.31 GB, free: 253.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02642/2.485, allocations: 9.059 MB / 1.319 GB, free: 249.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/2.487, allocations: 0.5265 MB / 1.32 GB, free: 249.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08067/2.568, allocations: 70.61 MB / 1.389 GB, free: 177 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005503/2.574, allocations: 283.8 kB / 1.389 GB, free: 176.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/2.575, allocations: 188 kB / 1.389 GB, free: 176.6 MB / 1.014 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004942/2.58, allocations: 2.417 MB / 1.392 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/2.581, allocations: 474.5 kB / 1.392 GB, free: 173.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0319/2.613, allocations: 16.75 MB / 1.408 GB, free: 156.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.491e-05/2.613, allocations: 56 kB / 1.408 GB, free: 156.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002097/2.614, allocations: 79.19 kB / 1.408 GB, free: 156.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/2.614, allocations: 31.83 kB / 1.409 GB, free: 156.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04521/2.659, allocations: 25.61 MB / 1.434 GB, free: 130.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.659e-05/2.659, allocations: 12.06 kB / 1.434 GB, free: 130.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/2.661, allocations: 319.7 kB / 1.434 GB, free: 130.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02427/2.685, allocations: 8.257 MB / 1.442 GB, free: 122.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00124/2.686, allocations: 111.9 kB / 1.442 GB, free: 122.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07749/2.764, allocations: 67.45 MB / 1.508 GB, free: 53.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/2.764, allocations: 10.81 kB / 1.508 GB, free: 53.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03905/2.803, allocations: 21.48 MB / 1.529 GB, free: 31.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004275/2.807, allocations: 1.362 MB / 1.53 GB, free: 29.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002/2.809, allocations: 108 kB / 1.53 GB, free: 29.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003756/2.813, allocations: 283.7 kB / 1.531 GB, free: 29.53 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002072/2.815, allocations: 0.5222 MB / 1.531 GB, free: 29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004937/2.816, allocations: 144 kB / 1.531 GB, free: 28.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002571/2.818, allocations: 1.753 MB / 1.533 GB, free: 27.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/2.818, allocations: 0 / 1.533 GB, free: 27.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.01056/2.829, allocations: 2.461 MB / 1.535 GB, free: 24.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/2.83, allocations: 250 kB / 1.536 GB, free: 24.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02219/2.852, allocations: 14.48 MB / 1.55 GB, free: 9.734 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/2.852, allocations: 4 kB / 1.55 GB, free: 9.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0164/2.869, allocations: 9.385 MB / 1.559 GB, free: 204 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007262/2.876, allocations: 1.286 MB / 1.56 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02921/2.905, allocations: 18.08 MB / 1.578 GB, free: 12.72 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006884/2.912, allocations: 4.893 MB / 1.583 GB, free: 7.781 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003356/2.915, allocations: 0.7449 MB / 1.583 GB, free: 7.031 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007499/2.916, allocations: 199.4 kB / 1.583 GB, free: 6.836 MB / 1.045 GB Notification: Performance of SimCode: time 1.082e-06/2.916, allocations: 0 / 1.583 GB, free: 6.836 MB / 1.045 GB Notification: Performance of Templates: time 0.8815/3.798, allocations: 135.4 MB / 1.716 GB, free: 368.3 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches