Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_R_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001506/0.001506, allocations: 191 kB / 17.29 MB, free: 5.516 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.496/1.496, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 65.28 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2999, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04151/0.3414, allocations: 37.96 MB / 1.056 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.3603, allocations: 11 MB / 1.067 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003131/0.3635, allocations: 155.2 kB / 1.067 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01097/0.3745, allocations: 4.354 MB / 1.071 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006149/0.3807, allocations: 2.219 MB / 1.073 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.5971/0.9779, allocations: 2.168 MB / 1.075 GB, free: 21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01321/0.9911, allocations: 9.293 MB / 1.084 GB, free: 20.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01918/1.01, allocations: 11.25 MB / 1.095 GB, free: 18.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01015/1.021, allocations: 4 MB / 1.099 GB, free: 18.67 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01056/1.031, allocations: 4.507 MB / 1.104 GB, free: 18.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004046/1.035, allocations: 0.8215 MB / 1.104 GB, free: 18.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006701/1.042, allocations: 1.588 MB / 1.106 GB, free: 18.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.007614/1.05, allocations: 3.148 MB / 1.109 GB, free: 17.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01121/1.061, allocations: 3.653 MB / 1.113 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0174/1.078, allocations: 12.31 MB / 1.125 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.078, allocations: 0 / 1.125 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.904e-06/1.078, allocations: 0 / 1.125 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004306/1.079, allocations: 2.312 kB / 1.125 GB, free: 11.29 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02125/1.1, allocations: 6.325 MB / 1.131 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.1, allocations: 17.73 kB / 1.131 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006952/1.107, allocations: 1.068 MB / 1.132 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009964/1.117, allocations: 3.602 MB / 1.135 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003832/1.117, allocations: 424.6 kB / 1.136 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002252/1.12, allocations: 0.5515 MB / 1.136 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01924/1.139, allocations: 9.37 MB / 1.146 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/1.139, allocations: 26.53 kB / 1.146 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00134/1.141, allocations: 245.7 kB / 1.146 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005323/1.141, allocations: 423.3 kB / 1.146 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/1.156, allocations: 7.131 MB / 1.153 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04873/1.205, allocations: 41.01 MB / 1.193 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/1.21, allocations: 3.098 MB / 1.196 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/1.213, allocations: 2.133 MB / 1.198 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/1.213, allocations: 22 kB / 1.198 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/1.213, allocations: 64.56 kB / 1.198 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=209): time 3.788e-06/1.213, allocations: 3.188 kB / 1.198 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=212): time 0.02456/1.238, allocations: 10.56 MB / 1.209 GB, free: 12.64 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/1.238, allocations: 81.34 kB / 1.209 GB, free: 12.55 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/1.241, allocations: 2.009 MB / 1.211 GB, free: 10.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003801/1.241, allocations: 65.7 kB / 1.211 GB, free: 10.45 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1.243, allocations: 2.398 MB / 1.213 GB, free: 8.031 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008124/1.244, allocations: 0.7248 MB / 1.214 GB, free: 7.312 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007875/1.245, allocations: 485.1 kB / 1.214 GB, free: 6.832 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.245, allocations: 301.1 kB / 1.215 GB, free: 6.535 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/1.247, allocations: 1.376 MB / 1.216 GB, free: 5.156 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/1.249, allocations: 2.105 MB / 1.218 GB, free: 2.746 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004665/1.254, allocations: 3.765 MB / 1.222 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/1.254, allocations: 8 kB / 1.222 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008081/1.262, allocations: 5.062 MB / 1.227 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/1.262, allocations: 19.92 kB / 1.227 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/1.262, allocations: 24 kB / 1.227 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/1.266, allocations: 1.593 MB / 1.228 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/1.267, allocations: 455.2 kB / 1.229 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/1.29, allocations: 18.58 MB / 1.247 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/1.293, allocations: 148 kB / 1.247 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/1.293, allocations: 108 kB / 1.247 GB, free: 4.379 MB / 0.9512 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003386/1.296, allocations: 1.945 MB / 1.249 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006061/1.297, allocations: 288.6 kB / 1.249 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006926/1.304, allocations: 4.443 MB / 1.254 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/1.304, allocations: 24 kB / 1.254 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.69e-05/1.304, allocations: 20 kB / 1.254 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.304, allocations: 11.95 kB / 1.254 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/1.32, allocations: 9.671 MB / 1.263 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.32, allocations: 7.438 kB / 1.263 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.321, allocations: 231.7 kB / 1.263 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003226/1.325, allocations: 1.432 MB / 1.265 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002235/1.325, allocations: 40 kB / 1.265 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/1.346, allocations: 18.56 MB / 1.283 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.346, allocations: 7.938 kB / 1.283 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007194/1.353, allocations: 4.544 MB / 1.287 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/1.355, allocations: 0.6265 MB / 1.288 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006159/1.356, allocations: 47.92 kB / 1.288 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.357, allocations: 115.9 kB / 1.288 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004825/1.358, allocations: 177.6 kB / 1.288 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.358, allocations: 60 kB / 1.288 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001772/1.36, allocations: 1.319 MB / 1.29 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.36, allocations: 0 / 1.29 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003525/1.363, allocations: 1.145 MB / 1.291 GB, free: 6.848 MB / 0.9981 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003657/1.364, allocations: 163 kB / 1.291 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007422/1.371, allocations: 4.715 MB / 1.295 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/1.371, allocations: 4 kB / 1.295 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004709/1.376, allocations: 2.921 MB / 1.298 GB, free: 14.94 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004513/1.381, allocations: 0.8942 MB / 1.299 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.397, allocations: 9.269 MB / 1.308 GB, free: 4.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004193/1.402, allocations: 3.698 MB / 1.312 GB, free: 1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001869/1.404, allocations: 0.5479 MB / 1.312 GB, free: 456 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/1.404, allocations: 151.4 kB / 1.313 GB, free: 304 kB / 1.014 GB Notification: Performance of SimCode: time 1.102e-06/1.404, allocations: 0 / 1.313 GB, free: 304 kB / 1.014 GB Notification: Performance of Templates: time 0.08252/1.487, allocations: 50.8 MB / 1.362 GB, free: 14.35 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches