Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001879/0.00188, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.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.8/2.8, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 15.94 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8221/0.8225, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02836/0.8509, allocations: 24.27 MB / 1.046 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01391/0.8649, allocations: 7.684 MB / 1.054 GB, free: 20 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.8677, allocations: 95.48 kB / 1.054 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.8699, allocations: 0.5115 MB / 1.054 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004779/0.8747, allocations: 1.275 MB / 1.055 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.8787, allocations: 0.9921 MB / 1.056 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009516/0.8883, allocations: 6.88 MB / 1.063 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01615/0.9044, allocations: 8.189 MB / 1.071 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004823/0.9093, allocations: 1.879 MB / 1.073 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005236/0.9146, allocations: 2.402 MB / 1.075 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.9158, allocations: 208 kB / 1.076 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003483/0.9193, allocations: 0.6009 MB / 1.076 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003329/0.9227, allocations: 1.656 MB / 1.078 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002329/0.925, allocations: 0.8005 MB / 1.079 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.008949/0.934, allocations: 6.625 MB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.934, allocations: 3.938 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.934, allocations: 0 / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003277/0.9344, allocations: 0 / 1.085 GB, free: 15.77 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01005/0.9444, allocations: 3.46 MB / 1.088 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.9445, allocations: 8.562 kB / 1.088 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005309/0.9498, allocations: 0.8069 MB / 1.089 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00609/0.9559, allocations: 2.366 MB / 1.091 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/0.9562, allocations: 275.3 kB / 1.092 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/0.9578, allocations: 371.9 kB / 1.092 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.9728, allocations: 5.969 MB / 1.098 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.973, allocations: 19.78 kB / 1.098 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009368/0.974, allocations: 163.9 kB / 1.098 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006563/0.9746, allocations: 278.9 kB / 1.098 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.9853, allocations: 4.492 MB / 1.103 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0389/1.024, allocations: 27.69 MB / 1.13 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/1.026, allocations: 1.111 MB / 1.131 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/1.028, allocations: 1.011 MB / 1.132 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/1.028, allocations: 16.98 kB / 1.132 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/1.028, allocations: 43.56 kB / 1.132 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.527e-06/1.028, allocations: 0 / 1.132 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.02189/1.05, allocations: 9.672 MB / 1.141 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/1.05, allocations: 68.72 kB / 1.141 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/1.053, allocations: 1.486 MB / 1.143 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/1.053, allocations: 45.7 kB / 1.143 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/1.054, allocations: 1.671 MB / 1.145 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.00061/1.055, allocations: 469.4 kB / 1.145 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/1.055, allocations: 32 kB / 1.145 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0003135/1.055, allocations: 377.8 kB / 1.145 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/1.057, allocations: 0.9096 MB / 1.146 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/1.059, allocations: 1.451 MB / 1.148 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/1.062, allocations: 1.15 MB / 1.149 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-05/1.062, allocations: 4 kB / 1.149 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006776/1.068, allocations: 3.274 MB / 1.152 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/1.068, allocations: 13.88 kB / 1.152 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/1.069, allocations: 16 kB / 1.152 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002283/1.071, allocations: 0.7379 MB / 1.153 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/1.072, allocations: 383.4 kB / 1.153 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/1.088, allocations: 15.77 MB / 1.169 GB, free: 5.527 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/1.091, allocations: 104.1 kB / 1.169 GB, free: 5.426 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005339/1.091, allocations: 76 kB / 1.169 GB, free: 5.352 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00373/1.095, allocations: 1.313 MB / 1.17 GB, free: 4.027 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008589/1.096, allocations: 205.6 kB / 1.17 GB, free: 3.824 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005878/1.102, allocations: 2.773 MB / 1.173 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.102, allocations: 20 kB / 1.173 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.22e-05/1.102, allocations: 4 kB / 1.173 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/1.102, allocations: 7.969 kB / 1.173 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/1.113, allocations: 6.205 MB / 1.179 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/1.113, allocations: 4 kB / 1.179 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/1.115, allocations: 231.6 kB / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/1.117, allocations: 0.6717 MB / 1.18 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/1.117, allocations: 32 kB / 1.18 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/1.133, allocations: 15.5 MB / 1.195 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.133, allocations: 4 kB / 1.195 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007097/1.14, allocations: 4 MB / 1.199 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.141, allocations: 462.5 kB / 1.199 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000578/1.142, allocations: 31.98 kB / 1.199 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.143, allocations: 83.89 kB / 1.199 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/1.143, allocations: 120.7 kB / 1.2 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.143, allocations: 40.12 kB / 1.2 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001718/1.145, allocations: 0.9786 MB / 1.201 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.31e-07/1.145, allocations: 0 / 1.201 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002561/1.147, allocations: 0.6875 MB / 1.201 GB, free: 2.434 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002936/1.148, allocations: 153.3 kB / 1.201 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005456/1.153, allocations: 3.487 MB / 1.205 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.153, allocations: 0.875 kB / 1.205 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003375/1.157, allocations: 2.291 MB / 1.207 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/1.161, allocations: 0.6266 MB / 1.208 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/1.175, allocations: 7.831 MB / 1.215 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003605/1.179, allocations: 2.668 MB / 1.218 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001945/1.181, allocations: 489.3 kB / 1.218 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/1.181, allocations: 115.4 kB / 1.218 GB, free: 440 kB / 0.9669 GB Notification: Performance of SimCode: time 7.91e-07/1.181, allocations: 0 / 1.218 GB, free: 440 kB / 0.9669 GB Notification: Performance of Templates: time 0.0582/1.239, allocations: 31.21 MB / 1.249 GB, free: 1.691 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches