Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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,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_9_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_9_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.001451/0.001451, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001582/0.001582, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.88 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8313/0.8327, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04027/0.873, allocations: 35.13 MB / 1.123 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01972/0.8928, allocations: 9.939 MB / 1.133 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004608/0.8974, allocations: 148.2 kB / 1.133 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01149/0.909, allocations: 3.808 MB / 1.136 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009331/0.9183, allocations: 2.038 MB / 1.138 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007368/0.9257, allocations: 1.962 MB / 1.14 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01407/0.9398, allocations: 7.962 MB / 1.148 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01692/0.9568, allocations: 9.527 MB / 1.157 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007317/0.9641, allocations: 3.43 MB / 1.161 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007476/0.9717, allocations: 3.729 MB / 1.164 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002702/0.9744, allocations: 0.6788 MB / 1.165 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005621/0.98, allocations: 1.446 MB / 1.167 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005529/0.9856, allocations: 2.625 MB / 1.169 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01055/0.9962, allocations: 3.104 MB / 1.172 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01577/1.012, allocations: 10.38 MB / 1.182 GB, free: 11.94 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.012, allocations: 0 / 1.182 GB, free: 11.94 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/1.012, allocations: 0 / 1.182 GB, free: 11.94 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003128/1.012, allocations: 0 / 1.182 GB, free: 11.94 MB / 0.92 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.01774/1.03, allocations: 5.4 MB / 1.188 GB, free: 8.363 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.03, allocations: 10.28 kB / 1.188 GB, free: 8.363 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007176/1.037, allocations: 0.9682 MB / 1.189 GB, free: 7.656 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007946/1.045, allocations: 3.178 MB / 1.192 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003543/1.046, allocations: 357.9 kB / 1.192 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002392/1.048, allocations: 464.3 kB / 1.192 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/1.071, allocations: 7.907 MB / 1.2 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002601/1.071, allocations: 23.72 kB / 1.2 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002112/1.074, allocations: 212 kB / 1.2 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006235/1.074, allocations: 369.1 kB / 1.201 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/1.089, allocations: 5.937 MB / 1.206 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04712/1.136, allocations: 35.95 MB / 1.242 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/1.139, allocations: 2.135 MB / 1.244 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/1.141, allocations: 1.484 MB / 1.245 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/1.142, allocations: 17.31 kB / 1.245 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/1.142, allocations: 55.81 kB / 1.245 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 3.837e-06/1.142, allocations: 0 / 1.245 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01478/1.156, allocations: 7.54 MB / 1.253 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.156, allocations: 68.72 kB / 1.253 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/1.159, allocations: 1.86 MB / 1.254 GB, free: 128 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/1.16, allocations: 53.7 kB / 1.254 GB, free: 68 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/1.161, allocations: 2.127 MB / 1.257 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/1.161, allocations: 0.5585 MB / 1.257 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007343/1.162, allocations: 407.7 kB / 1.258 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.162, allocations: 301.1 kB / 1.258 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/1.164, allocations: 1.058 MB / 1.259 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/1.166, allocations: 1.764 MB / 1.261 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/1.17, allocations: 3.045 MB / 1.264 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/1.17, allocations: 8 kB / 1.264 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006548/1.176, allocations: 3.921 MB / 1.267 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/1.177, allocations: 16 kB / 1.267 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/1.177, allocations: 20 kB / 1.267 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/1.179, allocations: 0.9355 MB / 1.268 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/1.181, allocations: 435.2 kB / 1.269 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02112/1.202, allocations: 22.75 MB / 1.291 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/1.204, allocations: 123.9 kB / 1.291 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/1.205, allocations: 99.98 kB / 1.291 GB, free: 8.07 MB / 1.029 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.0036/1.208, allocations: 1.651 MB / 1.293 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007744/1.209, allocations: 253 kB / 1.293 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006032/1.215, allocations: 3.26 MB / 1.296 GB, free: 2.852 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/1.215, allocations: 19.94 kB / 1.296 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-05/1.215, allocations: 8 kB / 1.296 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/1.215, allocations: 11.97 kB / 1.296 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/1.23, allocations: 7.561 MB / 1.304 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/1.23, allocations: 4 kB / 1.304 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009658/1.231, allocations: 215.6 kB / 1.304 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/1.234, allocations: 0.8883 MB / 1.305 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/1.234, allocations: 28 kB / 1.305 GB, free: 9.926 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0207/1.254, allocations: 22.73 MB / 1.327 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.254, allocations: 7.938 kB / 1.327 GB, free: 1.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005924/1.26, allocations: 3.383 MB / 1.33 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.262, allocations: 0.5215 MB / 1.331 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006753/1.262, allocations: 35.94 kB / 1.331 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/1.264, allocations: 103.8 kB / 1.331 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003936/1.264, allocations: 144.9 kB / 1.331 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.264, allocations: 44 kB / 1.331 GB, free: 13.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002143/1.267, allocations: 1.225 MB / 1.332 GB, free: 11.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.6e-07/1.267, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00348/1.27, allocations: 0.9062 MB / 1.333 GB, free: 11 MB / 1.076 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.0003134/1.27, allocations: 151.2 kB / 1.333 GB, free: 10.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006789/1.277, allocations: 4.432 MB / 1.338 GB, free: 6.258 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/1.277, allocations: 0 / 1.338 GB, free: 6.258 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005896/1.283, allocations: 2.993 MB / 1.341 GB, free: 3.109 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006236/1.289, allocations: 0.8267 MB / 1.341 GB, free: 2.301 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/1.313, allocations: 8.227 MB / 1.349 GB, free: 9.98 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006888/1.32, allocations: 3.279 MB / 1.353 GB, free: 6.668 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/1.321, allocations: 151.4 kB / 1.353 GB, free: 6.52 MB / 1.092 GB Notification: Performance of SimCode: time 1.172e-06/1.321, allocations: 4 kB / 1.353 GB, free: 6.516 MB / 1.092 GB Notification: Performance of Templates: time 0.8866/2.208, allocations: 339.9 MB / 1.685 GB, free: 375.7 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches