Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 107.6 kB / 16.37 MB, free: 6.457 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.00122/0.00122, allocations: 191.8 kB / 17.31 MB, free: 5.812 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 64.14 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.345, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03838/0.3835, allocations: 35.12 MB / 1.061 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01738/0.4009, allocations: 9.948 MB / 1.071 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004225/0.4052, allocations: 147.2 kB / 1.071 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.4159, allocations: 3.804 MB / 1.075 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.5993/1.015, allocations: 2.028 MB / 1.077 GB, free: 20.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006246/1.022, allocations: 1.963 MB / 1.079 GB, free: 20.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01216/1.034, allocations: 7.967 MB / 1.086 GB, free: 20.24 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01348/1.047, allocations: 9.522 MB / 1.096 GB, free: 18.45 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00765/1.055, allocations: 3.377 MB / 1.099 GB, free: 18.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009327/1.064, allocations: 3.741 MB / 1.103 GB, free: 17.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004138/1.069, allocations: 0.6784 MB / 1.103 GB, free: 17.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008406/1.077, allocations: 1.443 MB / 1.105 GB, free: 17.06 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.007074/1.084, allocations: 2.613 MB / 1.107 GB, free: 16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01055/1.095, allocations: 3.103 MB / 1.11 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01862/1.113, allocations: 10.38 MB / 1.12 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/1.113, allocations: 0.6875 kB / 1.12 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.196e-06/1.113, allocations: 0 / 1.12 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004123/1.114, allocations: 0.9062 kB / 1.12 GB, free: 10.93 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01956/1.133, allocations: 5.412 MB / 1.126 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.133, allocations: 9.188 kB / 1.126 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00759/1.141, allocations: 0.9632 MB / 1.127 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/1.154, allocations: 3.178 MB / 1.13 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006084/1.154, allocations: 353.7 kB / 1.13 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/1.158, allocations: 469.9 kB / 1.13 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02548/1.183, allocations: 7.904 MB / 1.138 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004039/1.184, allocations: 29 kB / 1.138 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002996/1.187, allocations: 211.3 kB / 1.138 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006792/1.187, allocations: 363.2 kB / 1.139 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/1.203, allocations: 5.943 MB / 1.145 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05459/1.258, allocations: 35.94 MB / 1.18 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004162/1.262, allocations: 2.142 MB / 1.182 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/1.264, allocations: 1.483 MB / 1.183 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/1.264, allocations: 17.25 kB / 1.183 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/1.265, allocations: 55.88 kB / 1.183 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=157): time 3.877e-06/1.265, allocations: 0 / 1.183 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of matching and sorting (n=160): time 0.01785/1.282, allocations: 7.542 MB / 1.191 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/1.283, allocations: 64.72 kB / 1.191 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004514/1.287, allocations: 1.864 MB / 1.193 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005375/1.288, allocations: 57.7 kB / 1.193 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001955/1.29, allocations: 2.116 MB / 1.195 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009317/1.291, allocations: 0.5604 MB / 1.195 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/1.292, allocations: 403.7 kB / 1.196 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.292, allocations: 305.1 kB / 1.196 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/1.294, allocations: 1.062 MB / 1.197 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/1.296, allocations: 1.768 MB / 1.199 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004174/1.3, allocations: 3.047 MB / 1.202 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.691e-05/1.3, allocations: 8 kB / 1.202 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007272/1.308, allocations: 3.925 MB / 1.205 GB, free: 13.42 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/1.308, allocations: 16 kB / 1.205 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/1.308, allocations: 20 kB / 1.205 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002575/1.31, allocations: 0.9333 MB / 1.206 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/1.312, allocations: 431.3 kB / 1.207 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/1.334, allocations: 22.76 MB / 1.229 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/1.337, allocations: 119.9 kB / 1.229 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/1.337, allocations: 99.98 kB / 1.229 GB, free: 3.367 MB / 0.9356 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003683/1.341, allocations: 1.645 MB / 1.231 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006969/1.341, allocations: 253 kB / 1.231 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005408/1.347, allocations: 3.264 MB / 1.234 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/1.347, allocations: 16 kB / 1.234 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/1.347, allocations: 8 kB / 1.234 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/1.347, allocations: 11.97 kB / 1.234 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/1.361, allocations: 7.553 MB / 1.242 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/1.361, allocations: 4 kB / 1.242 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000916/1.362, allocations: 219.7 kB / 1.242 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/1.364, allocations: 0.8976 MB / 1.243 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/1.364, allocations: 28 kB / 1.243 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/1.384, allocations: 22.73 MB / 1.265 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.384, allocations: 4 kB / 1.265 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/1.39, allocations: 3.385 MB / 1.268 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/1.392, allocations: 0.5254 MB / 1.269 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/1.392, allocations: 28 kB / 1.269 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.393, allocations: 99.81 kB / 1.269 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000435/1.394, allocations: 145 kB / 1.269 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.394, allocations: 43.94 kB / 1.269 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00173/1.396, allocations: 1.225 MB / 1.27 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.396, allocations: 0 / 1.27 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00343/1.399, allocations: 0.9102 MB / 1.271 GB, free: 6.367 MB / 0.9825 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003256/1.399, allocations: 158.9 kB / 1.271 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006486/1.406, allocations: 4.424 MB / 1.276 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/1.406, allocations: 0 / 1.276 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004211/1.41, allocations: 2.996 MB / 1.279 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/1.414, allocations: 0.8274 MB / 1.279 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/1.43, allocations: 7.593 MB / 1.287 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004064/1.434, allocations: 3.209 MB / 1.29 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001846/1.436, allocations: 0.5254 MB / 1.29 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/1.436, allocations: 139.4 kB / 1.291 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.436, allocations: 0 / 1.291 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of Templates: time 0.07485/1.511, allocations: 40.98 MB / 1.331 GB, free: 9.855 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches