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.001554/0.001554, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001901/0.001901, allocations: 189.5 kB / 16.14 MB, free: 6.645 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.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.495/2.495, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7743/0.7761, allocations: 140.3 MB / 0.9489 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03571/0.8119, allocations: 34.81 MB / 0.9829 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.8308, allocations: 9.927 MB / 0.9926 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005814/0.8366, allocations: 131.2 kB / 0.9927 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009976/0.8467, allocations: 3.545 MB / 0.9962 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007605/0.8543, allocations: 1.917 MB / 0.9981 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006093/0.8604, allocations: 1.781 MB / 0.9998 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01426/0.8747, allocations: 11.19 MB / 1.011 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01912/0.8939, allocations: 10.72 MB / 1.021 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006558/0.9005, allocations: 2.869 MB / 1.024 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007289/0.9078, allocations: 3.801 MB / 1.028 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002186/0.91, allocations: 468 kB / 1.028 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004973/0.915, allocations: 1.443 MB / 1.03 GB, free: 15.25 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004815/0.9199, allocations: 2.393 MB / 1.032 GB, free: 12.86 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.008441/0.9283, allocations: 2.843 MB / 1.035 GB, free: 10 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.9418, allocations: 10.2 MB / 1.045 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.9419, allocations: 0 / 1.045 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9419, allocations: 4 kB / 1.045 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003566/0.9423, allocations: 0 / 1.045 GB, free: 15.77 MB / 0.8106 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.01511/0.9574, allocations: 5.401 MB / 1.05 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.9574, allocations: 12.02 kB / 1.05 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005718/0.9632, allocations: 0.9587 MB / 1.051 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00624/0.9694, allocations: 2.995 MB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.9698, allocations: 353.9 kB / 1.054 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.9715, allocations: 476.2 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/0.9886, allocations: 7.914 MB / 1.062 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.9888, allocations: 19.81 kB / 1.062 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001154/0.9899, allocations: 208 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005397/0.9905, allocations: 369.1 kB / 1.063 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/1.002, allocations: 5.937 MB / 1.069 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.042/1.044, allocations: 36.21 MB / 1.104 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003458/1.047, allocations: 2.15 MB / 1.106 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/1.05, allocations: 1.484 MB / 1.108 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/1.05, allocations: 17.31 kB / 1.108 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/1.05, allocations: 55.81 kB / 1.108 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=157): time 3.567e-06/1.05, allocations: 7.938 kB / 1.108 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=160): time 0.01427/1.064, allocations: 7.525 MB / 1.115 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/1.064, allocations: 72.72 kB / 1.115 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/1.067, allocations: 1.864 MB / 1.117 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/1.067, allocations: 53.7 kB / 1.117 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001341/1.069, allocations: 2.127 MB / 1.119 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005021/1.069, allocations: 0.5507 MB / 1.12 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006964/1.07, allocations: 411.7 kB / 1.12 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.07, allocations: 301.1 kB / 1.12 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/1.072, allocations: 1.058 MB / 1.121 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/1.074, allocations: 1.76 MB / 1.123 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004214/1.078, allocations: 3.056 MB / 1.126 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/1.078, allocations: 4 kB / 1.126 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007386/1.085, allocations: 3.925 MB / 1.13 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/1.086, allocations: 18.03 kB / 1.13 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/1.086, allocations: 24 kB / 1.13 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002546/1.088, allocations: 0.935 MB / 1.131 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/1.09, allocations: 423.3 kB / 1.131 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/1.11, allocations: 21.05 MB / 1.152 GB, free: 11.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/1.112, allocations: 131.9 kB / 1.152 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/1.112, allocations: 95.98 kB / 1.152 GB, free: 11.44 MB / 0.92 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.002778/1.115, allocations: 1.645 MB / 1.154 GB, free: 9.781 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005642/1.116, allocations: 257.1 kB / 1.154 GB, free: 9.527 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005422/1.121, allocations: 3.263 MB / 1.157 GB, free: 6.211 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/1.121, allocations: 16 kB / 1.157 GB, free: 6.195 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/1.121, allocations: 12 kB / 1.157 GB, free: 6.184 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.121, allocations: 11.91 kB / 1.157 GB, free: 6.172 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.133, allocations: 7.549 MB / 1.164 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.133, allocations: 4 kB / 1.164 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009376/1.134, allocations: 219.6 kB / 1.165 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002377/1.137, allocations: 0.8848 MB / 1.165 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/1.137, allocations: 32 kB / 1.166 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/1.156, allocations: 21.02 MB / 1.186 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.156, allocations: 4 kB / 1.186 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005797/1.162, allocations: 3.383 MB / 1.189 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.164, allocations: 0.533 MB / 1.19 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000376/1.164, allocations: 32 kB / 1.19 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.165, allocations: 95.88 kB / 1.19 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000482/1.165, allocations: 137 kB / 1.19 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/1.166, allocations: 44 kB / 1.19 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001912/1.168, allocations: 1.225 MB / 1.191 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.168, allocations: 0 / 1.191 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00293/1.17, allocations: 0.9102 MB / 1.192 GB, free: 164 kB / 0.9512 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.0003478/1.171, allocations: 155 kB / 1.192 GB, free: 16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006519/1.177, allocations: 4.408 MB / 1.197 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.177, allocations: 8.938 kB / 1.197 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004146/1.182, allocations: 2.995 MB / 1.2 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/1.185, allocations: 0.7678 MB / 1.2 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.199, allocations: 9.688 MB / 1.21 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00328/1.202, allocations: 3.213 MB / 1.213 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002068/1.205, allocations: 0.5293 MB / 1.213 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/1.205, allocations: 143.4 kB / 1.214 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of SimCode: time 7.52e-07/1.205, allocations: 0 / 1.214 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of Templates: time 0.0728/1.278, allocations: 41.54 MB / 1.254 GB, free: 0.8516 MB / 1.014 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/jenkins/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