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.0009686/0.0009688, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.01099/0.01099, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.817/2.817, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003547, allocations: 12.88 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3151, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0355/0.3507, allocations: 31.54 MB / 1.089 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.3691, allocations: 10.18 MB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003162/0.3723, allocations: 123.3 kB / 1.1 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.3749, allocations: 0.6395 MB / 1.1 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005863/0.3808, allocations: 1.739 MB / 1.102 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005541/0.3863, allocations: 1.757 MB / 1.104 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01261/0.399, allocations: 10.57 MB / 1.114 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02022/0.4192, allocations: 12.06 MB / 1.126 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005437/0.4247, allocations: 2.244 MB / 1.128 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005116/0.4299, allocations: 2.966 MB / 1.131 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.4311, allocations: 264 kB / 1.131 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004143/0.4352, allocations: 1.696 MB / 1.133 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004625/0.4399, allocations: 2.054 MB / 1.135 GB, free: 7.332 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005646/0.4456, allocations: 2.353 MB / 1.137 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.4603, allocations: 9.653 MB / 1.146 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.4603, allocations: 4 kB / 1.146 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.888e-06/0.4603, allocations: 0 / 1.146 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004082/0.4608, allocations: 0 / 1.146 GB, free: 11.27 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.01049/0.4713, allocations: 4.015 MB / 1.15 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4713, allocations: 11.97 kB / 1.15 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006229/0.4776, allocations: 0.9551 MB / 1.151 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00618/0.4838, allocations: 2.855 MB / 1.154 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003987/0.4842, allocations: 345.7 kB / 1.154 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/0.4858, allocations: 476.1 kB / 1.155 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.504, allocations: 7.659 MB / 1.162 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003754/0.5044, allocations: 31.77 kB / 1.162 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/0.5061, allocations: 200 kB / 1.163 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004755/0.5066, allocations: 305 kB / 1.163 GB, free: 9.961 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/0.5204, allocations: 5.718 MB / 1.168 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04634/0.5668, allocations: 35.13 MB / 1.203 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.5702, allocations: 2.15 MB / 1.205 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.5723, allocations: 1.261 MB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.5724, allocations: 25.23 kB / 1.206 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.5725, allocations: 47.88 kB / 1.206 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=133): time 3.626e-06/0.5725, allocations: 0 / 1.206 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=136): time 0.01548/0.5879, allocations: 7.116 MB / 1.213 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.588, allocations: 68.72 kB / 1.213 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.5906, allocations: 1.484 MB / 1.215 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.5908, allocations: 49.64 kB / 1.215 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.5923, allocations: 2.008 MB / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005638/0.5929, allocations: 481.2 kB / 1.217 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.5932, allocations: 157.6 kB / 1.217 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5933, allocations: 301.1 kB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.5948, allocations: 0.9174 MB / 1.218 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.5968, allocations: 1.597 MB / 1.22 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.6006, allocations: 2.733 MB / 1.223 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.168e-05/0.6006, allocations: 8 kB / 1.223 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00672/0.6073, allocations: 3.534 MB / 1.226 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.6074, allocations: 12 kB / 1.226 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.872e-05/0.6075, allocations: 24 kB / 1.226 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.6103, allocations: 0.9081 MB / 1.227 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.6117, allocations: 347.4 kB / 1.227 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/0.6335, allocations: 21.23 MB / 1.248 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.6352, allocations: 104 kB / 1.248 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.6354, allocations: 84 kB / 1.248 GB, free: 12.44 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.002899/0.6383, allocations: 1.609 MB / 1.25 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004234/0.6387, allocations: 209.6 kB / 1.25 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005486/0.6442, allocations: 2.99 MB / 1.253 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.6442, allocations: 16 kB / 1.253 GB, free: 7.559 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/0.6442, allocations: 8 kB / 1.253 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.6443, allocations: 7.969 kB / 1.253 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6026/1.247, allocations: 7.327 MB / 1.26 GB, free: 182.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.98e-05/1.247, allocations: 8.359 kB / 1.26 GB, free: 182.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.248, allocations: 177 kB / 1.26 GB, free: 182.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/1.251, allocations: 0.8228 MB / 1.261 GB, free: 182.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/1.251, allocations: 27.5 kB / 1.261 GB, free: 182.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/1.266, allocations: 20.33 MB / 1.281 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.266, allocations: 9.781 kB / 1.281 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/1.271, allocations: 3.021 MB / 1.284 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009339/1.272, allocations: 467.1 kB / 1.284 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/1.272, allocations: 26.22 kB / 1.284 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000792/1.273, allocations: 73.06 kB / 1.284 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004279/1.273, allocations: 123 kB / 1.285 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/1.273, allocations: 37.41 kB / 1.285 GB, free: 167.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001265/1.274, allocations: 0.9758 MB / 1.286 GB, free: 167 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.71e-07/1.275, allocations: 0 / 1.286 GB, free: 167 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002899/1.277, allocations: 0.7886 MB / 1.286 GB, free: 167 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.0002503/1.278, allocations: 146.5 kB / 1.287 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006128/1.284, allocations: 4.029 MB / 1.29 GB, free: 165.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.284, allocations: 0 / 1.29 GB, free: 165.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004101/1.288, allocations: 2.75 MB / 1.293 GB, free: 164 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005029/1.293, allocations: 0.6662 MB / 1.294 GB, free: 164 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/1.308, allocations: 9.169 MB / 1.303 GB, free: 159.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003997/1.312, allocations: 3.109 MB / 1.306 GB, free: 158.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001698/1.313, allocations: 454.8 kB / 1.306 GB, free: 158.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/1.314, allocations: 118.7 kB / 1.306 GB, free: 158.6 MB / 1.014 GB Notification: Performance of SimCode: time 8.82e-07/1.314, allocations: 0 / 1.306 GB, free: 158.6 MB / 1.014 GB Notification: Performance of Templates: time 0.05301/1.367, allocations: 34.13 MB / 1.34 GB, free: 142.2 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