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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00108/0.00108, allocations: 98.88 kB / 16.02 MB, free: 72 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.001361/0.001361, allocations: 181.3 kB / 16.92 MB, free: 6.918 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003328, allocations: 11.42 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3172, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03529/0.3526, allocations: 31.54 MB / 1.09 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.3706, allocations: 10.17 MB / 1.1 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003177/0.3738, allocations: 127.2 kB / 1.1 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.3763, allocations: 0.6318 MB / 1.101 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0058/0.3821, allocations: 1.735 MB / 1.102 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005088/0.3873, allocations: 1.761 MB / 1.104 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01121/0.3985, allocations: 10.58 MB / 1.115 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01961/0.4181, allocations: 12.07 MB / 1.126 GB, free: 72 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005011/0.4232, allocations: 2.237 MB / 1.129 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005079/0.4283, allocations: 2.962 MB / 1.131 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.4295, allocations: 268 kB / 1.132 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/0.4336, allocations: 1.7 MB / 1.133 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003218/0.4369, allocations: 2.054 MB / 1.135 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004254/0.4412, allocations: 2.345 MB / 1.138 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00909/0.4503, allocations: 8.4 MB / 1.146 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4503, allocations: 0 / 1.146 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4503, allocations: 0 / 1.146 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003365/0.4507, allocations: 0 / 1.146 GB, free: 12.04 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.009818/0.4605, allocations: 4.019 MB / 1.15 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4605, allocations: 11.97 kB / 1.15 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006059/0.4666, allocations: 0.9512 MB / 1.151 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005427/0.4721, allocations: 2.855 MB / 1.153 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/0.4724, allocations: 353.7 kB / 1.154 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.4738, allocations: 464.2 kB / 1.154 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/0.4896, allocations: 7.667 MB / 1.162 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002632/0.4899, allocations: 27.72 kB / 1.162 GB, free: 11.22 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/0.491, allocations: 200 kB / 1.162 GB, free: 11.03 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000383/0.4914, allocations: 309 kB / 1.162 GB, free: 10.72 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.5028, allocations: 5.714 MB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03633/0.5391, allocations: 35.14 MB / 1.202 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.5419, allocations: 2.156 MB / 1.204 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.5436, allocations: 1.268 MB / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.328e-05/0.5437, allocations: 13.31 kB / 1.206 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.5437, allocations: 47.88 kB / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=133): time 3.546e-06/0.5437, allocations: 0 / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=136): time 0.01402/0.5577, allocations: 7.123 MB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.5578, allocations: 68.72 kB / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.5599, allocations: 1.484 MB / 1.214 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.56, allocations: 45.7 kB / 1.214 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.5612, allocations: 2.008 MB / 1.216 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.5616, allocations: 489.1 kB / 1.216 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.5618, allocations: 145.6 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.5619, allocations: 301.1 kB / 1.217 GB, free: 15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.5633, allocations: 0.9135 MB / 1.218 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.565, allocations: 1.593 MB / 1.219 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/0.5683, allocations: 2.737 MB / 1.222 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.5683, allocations: 8 kB / 1.222 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006048/0.5744, allocations: 3.534 MB / 1.226 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.5744, allocations: 16 kB / 1.226 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/0.5745, allocations: 24 kB / 1.226 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/0.577, allocations: 0.9081 MB / 1.226 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5782, allocations: 347.4 kB / 1.227 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01972/0.598, allocations: 21.24 MB / 1.247 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.5996, allocations: 108 kB / 1.248 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/0.5999, allocations: 80 kB / 1.248 GB, free: 13.2 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.002861/0.6028, allocations: 1.616 MB / 1.249 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004481/0.6032, allocations: 201.6 kB / 1.249 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/0.6087, allocations: 2.994 MB / 1.252 GB, free: 8.336 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.6087, allocations: 15.98 kB / 1.252 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.914e-05/0.6088, allocations: 15.94 kB / 1.252 GB, free: 8.305 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.6088, allocations: 3.984 kB / 1.252 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.6209, allocations: 7.333 MB / 1.26 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.621, allocations: 4 kB / 1.26 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008119/0.6218, allocations: 175.7 kB / 1.26 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6235/1.245, allocations: 0.817 MB / 1.261 GB, free: 183.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002804/1.246, allocations: 31.67 kB / 1.261 GB, free: 183.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/1.263, allocations: 20.32 MB / 1.28 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.263, allocations: 2.812 kB / 1.28 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/1.268, allocations: 3.03 MB / 1.283 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.27, allocations: 466.4 kB / 1.284 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005731/1.27, allocations: 32.45 kB / 1.284 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.271, allocations: 70.56 kB / 1.284 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004601/1.272, allocations: 122.9 kB / 1.284 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.46e-05/1.272, allocations: 37.41 kB / 1.284 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00181/1.274, allocations: 0.9727 MB / 1.285 GB, free: 168 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.81e-07/1.274, allocations: 5.531 kB / 1.285 GB, free: 168 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003264/1.277, allocations: 0.7832 MB / 1.286 GB, free: 168 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.0002984/1.277, allocations: 141.1 kB / 1.286 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00715/1.285, allocations: 4.033 MB / 1.29 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/1.285, allocations: 1.125 kB / 1.29 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004222/1.289, allocations: 2.742 MB / 1.293 GB, free: 165 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005635/1.294, allocations: 0.6712 MB / 1.293 GB, free: 165 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.313, allocations: 9.796 MB / 1.303 GB, free: 160.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00619/1.319, allocations: 3.177 MB / 1.306 GB, free: 159.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000647/1.32, allocations: 133.7 kB / 1.306 GB, free: 159.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/1.32, allocations: 0 / 1.306 GB, free: 159.5 MB / 1.014 GB Notification: Performance of Templates: time 0.2931/1.613, allocations: 321 MB / 1.619 GB, free: 15.99 MB / 1.17 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/jenkins1/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