Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001635/0.001635, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002233/0.002233, allocations: 192.3 kB / 16.14 MB, free: 6.711 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 61.97 kB / 0.8984 GB, free: 37.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3166, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03644/0.3531, allocations: 32.32 MB / 1.084 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01865/0.3718, allocations: 10.28 MB / 1.094 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/0.3758, allocations: 135.2 kB / 1.094 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009828/0.3856, allocations: 3.466 MB / 1.097 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.3912, allocations: 1.75 MB / 1.099 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005754/0.397, allocations: 1.926 MB / 1.101 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.4086, allocations: 10.58 MB / 1.111 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01851/0.4272, allocations: 10.62 MB / 1.122 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005699/0.4329, allocations: 2.697 MB / 1.124 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006582/0.4395, allocations: 3.555 MB / 1.128 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00211/0.4417, allocations: 452 kB / 1.128 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005789/0.4475, allocations: 1.884 MB / 1.13 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005069/0.4526, allocations: 2.343 MB / 1.132 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.007046/0.4597, allocations: 2.66 MB / 1.135 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.4741, allocations: 9.979 MB / 1.145 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.4741, allocations: 7.984 kB / 1.145 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.484e-06/0.4741, allocations: 0 / 1.145 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003969/0.4745, allocations: 0 / 1.145 GB, free: 9.871 MB / 0.9044 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.01429/0.4888, allocations: 4.99 MB / 1.149 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4889, allocations: 8.031 kB / 1.149 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/0.4948, allocations: 0.9551 MB / 1.15 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005811/0.5006, allocations: 2.859 MB / 1.153 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.5009, allocations: 349.7 kB / 1.153 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.5021, allocations: 464.2 kB / 1.154 GB, free: 128 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/0.5191, allocations: 7.663 MB / 1.161 GB, free: 8.113 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/0.5193, allocations: 35.7 kB / 1.161 GB, free: 8.078 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005796/0.5199, allocations: 196 kB / 1.162 GB, free: 7.887 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003366/0.5202, allocations: 309 kB / 1.162 GB, free: 7.582 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.5307, allocations: 5.71 MB / 1.167 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03937/0.5701, allocations: 35.1 MB / 1.202 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.5733, allocations: 2.16 MB / 1.204 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.5751, allocations: 1.269 MB / 1.205 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.442e-05/0.5752, allocations: 13.31 kB / 1.205 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.5752, allocations: 47.88 kB / 1.205 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=133): time 3.146e-06/0.5752, allocations: 0 / 1.205 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=136): time 0.01408/0.5893, allocations: 7.085 MB / 1.212 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.5894, allocations: 72.66 kB / 1.212 GB, free: 500 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.5914, allocations: 1.484 MB / 1.214 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.5915, allocations: 49.7 kB / 1.214 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.5927, allocations: 2.008 MB / 1.216 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.5932, allocations: 489.1 kB / 1.216 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005029/0.5937, allocations: 343.2 kB / 1.216 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.5938, allocations: 301.1 kB / 1.217 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.5951, allocations: 0.9135 MB / 1.218 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.5969, allocations: 1.593 MB / 1.219 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/0.6003, allocations: 2.737 MB / 1.222 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.6003, allocations: 8 kB / 1.222 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006341/0.6067, allocations: 3.526 MB / 1.225 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.6067, allocations: 16 kB / 1.225 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.6068, allocations: 20.91 kB / 1.225 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/0.6095, allocations: 0.9076 MB / 1.226 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.6107, allocations: 347.4 kB / 1.227 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/0.6313, allocations: 21.22 MB / 1.247 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.6331, allocations: 104 kB / 1.247 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/0.6335, allocations: 91.88 kB / 1.247 GB, free: 9.965 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 (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.003188/0.6367, allocations: 1.612 MB / 1.249 GB, free: 8.344 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005131/0.6372, allocations: 201.6 kB / 1.249 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005656/0.6429, allocations: 2.99 MB / 1.252 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.643, allocations: 12 kB / 1.252 GB, free: 5.094 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-05/0.643, allocations: 15.98 kB / 1.252 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.643, allocations: 3.984 kB / 1.252 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5866/1.23, allocations: 7.344 MB / 1.259 GB, free: 186.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/1.23, allocations: 4.031 kB / 1.259 GB, free: 186.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000942/1.231, allocations: 183.4 kB / 1.259 GB, free: 186.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/1.233, allocations: 0.8279 MB / 1.26 GB, free: 186 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/1.233, allocations: 29.94 kB / 1.26 GB, free: 186 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/1.249, allocations: 20.29 MB / 1.28 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.249, allocations: 6.594 kB / 1.28 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006338/1.255, allocations: 3.02 MB / 1.283 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.257, allocations: 458.5 kB / 1.284 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007271/1.258, allocations: 31.77 kB / 1.284 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/1.259, allocations: 71.34 kB / 1.284 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000602/1.26, allocations: 128.2 kB / 1.284 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.26, allocations: 43.23 kB / 1.284 GB, free: 170.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00238/1.262, allocations: 0.9743 MB / 1.285 GB, free: 170.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.1e-07/1.262, allocations: 0.5312 kB / 1.285 GB, free: 170.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004373/1.267, allocations: 0.7852 MB / 1.286 GB, free: 170.3 MB / 1.014 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.0004209/1.267, allocations: 144.3 kB / 1.286 GB, free: 170.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007469/1.274, allocations: 4.015 MB / 1.29 GB, free: 168.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.274, allocations: 1 kB / 1.29 GB, free: 168.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004461/1.279, allocations: 2.738 MB / 1.292 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004382/1.283, allocations: 0.6747 MB / 1.293 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/1.304, allocations: 9.157 MB / 1.302 GB, free: 162.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004712/1.308, allocations: 3.108 MB / 1.305 GB, free: 161.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001926/1.31, allocations: 454 kB / 1.305 GB, free: 161.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/1.311, allocations: 113.3 kB / 1.305 GB, free: 161.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.022e-06/1.311, allocations: 4 kB / 1.305 GB, free: 161.1 MB / 1.014 GB Notification: Performance of Templates: time 0.05858/1.369, allocations: 34.71 MB / 1.339 GB, free: 142 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches