Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001406/0.001406, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.464/2.464, allocations: 390.2 MB / 0.6646 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7621/0.7634, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02751/0.791, allocations: 26.66 MB / 0.9756 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.8057, allocations: 8.068 MB / 0.9835 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003251/0.809, allocations: 114.7 kB / 0.9836 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.007542/0.8166, allocations: 2.77 MB / 0.9863 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006151/0.8227, allocations: 1.585 MB / 0.9879 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005205/0.828, allocations: 1.676 MB / 0.9895 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007292/0.8353, allocations: 6.135 MB / 0.9955 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009679/0.845, allocations: 7.427 MB / 1.003 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005084/0.8501, allocations: 2.555 MB / 1.005 GB, free: 8.711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007161/0.8573, allocations: 2.827 MB / 1.008 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.002082/0.8594, allocations: 0.5078 MB / 1.009 GB, free: 5.367 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.8632, allocations: 1.291 MB / 1.01 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002727/0.8659, allocations: 2.05 MB / 1.012 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.005237/0.8712, allocations: 2.381 MB / 1.014 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.8816, allocations: 7.997 MB / 1.022 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.8817, allocations: 4 kB / 1.022 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8817, allocations: 0 / 1.022 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002529/0.8819, allocations: 4 kB / 1.022 GB, free: 7.602 MB / 0.7794 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.0113/0.8932, allocations: 4.22 MB / 1.026 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8933, allocations: 12.03 kB / 1.026 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004886/0.8982, allocations: 0.8 MB / 1.027 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00582/0.904, allocations: 2.424 MB / 1.029 GB, free: 20 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.9044, allocations: 275.7 kB / 1.029 GB, free: 15.75 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001463/0.9058, allocations: 372.5 kB / 1.03 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.9198, allocations: 6 MB / 1.036 GB, free: 9.133 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002161/0.9201, allocations: 23.78 kB / 1.036 GB, free: 9.109 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001209/0.9213, allocations: 160 kB / 1.036 GB, free: 8.953 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007661/0.9221, allocations: 274.9 kB / 1.036 GB, free: 8.684 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.9328, allocations: 4.531 MB / 1.041 GB, free: 4.145 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04054/0.9734, allocations: 27.66 MB / 1.068 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/0.976, allocations: 1.117 MB / 1.069 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.9779, allocations: 1.019 MB / 1.07 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.9781, allocations: 9 kB / 1.07 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.9781, allocations: 51.56 kB / 1.07 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 6.161e-06/0.9782, allocations: 0 / 1.07 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=131): time 0.02305/1.001, allocations: 9.674 MB / 1.079 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/1.001, allocations: 64.72 kB / 1.079 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/1.003, allocations: 1.49 MB / 1.081 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001308/1.003, allocations: 53.7 kB / 1.081 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/1.005, allocations: 1.663 MB / 1.082 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/1.005, allocations: 473.2 kB / 1.083 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005075/1.006, allocations: 323.2 kB / 1.083 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.006, allocations: 313 kB / 1.083 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/1.007, allocations: 0.9174 MB / 1.084 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/1.009, allocations: 1.463 MB / 1.086 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/1.012, allocations: 2.55 MB / 1.088 GB, free: 64 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/1.012, allocations: 4 kB / 1.088 GB, free: 60 kB / 0.8419 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007099/1.019, allocations: 3.29 MB / 1.091 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/1.02, allocations: 16.06 kB / 1.091 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/1.02, allocations: 16 kB / 1.091 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/1.022, allocations: 0.7412 MB / 1.092 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.024, allocations: 383.4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/1.041, allocations: 17.04 MB / 1.109 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/1.043, allocations: 99.91 kB / 1.109 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/1.043, allocations: 83.92 kB / 1.109 GB, free: 9.059 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002406/1.046, allocations: 1.311 MB / 1.111 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005005/1.046, allocations: 201.7 kB / 1.111 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006017/1.052, allocations: 2.784 MB / 1.114 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/1.052, allocations: 12 kB / 1.114 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.749e-05/1.052, allocations: 12 kB / 1.114 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/1.052, allocations: 3.984 kB / 1.114 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/1.068, allocations: 6.225 MB / 1.12 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.068, allocations: 8 kB / 1.12 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/1.069, allocations: 223.7 kB / 1.12 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00216/1.072, allocations: 0.6833 MB / 1.121 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.072, allocations: 32 kB / 1.121 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/1.089, allocations: 16.79 MB / 1.137 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.089, allocations: 15.92 kB / 1.137 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006685/1.095, allocations: 4.001 MB / 1.141 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.097, allocations: 450.6 kB / 1.141 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/1.097, allocations: 40.06 kB / 1.141 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009623/1.098, allocations: 84.08 kB / 1.141 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/1.098, allocations: 116.7 kB / 1.142 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-05/1.098, allocations: 47.97 kB / 1.142 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001419/1.1, allocations: 0.9942 MB / 1.143 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.1, allocations: 0 / 1.143 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002466/1.102, allocations: 0.6836 MB / 1.143 GB, free: 4.727 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002866/1.103, allocations: 151 kB / 1.143 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006699/1.109, allocations: 4.1 MB / 1.147 GB, free: 360 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/1.109, allocations: 0 / 1.147 GB, free: 360 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003819/1.113, allocations: 2.299 MB / 1.15 GB, free: 13.93 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004022/1.117, allocations: 0.6759 MB / 1.15 GB, free: 13.28 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/1.129, allocations: 6.533 MB / 1.157 GB, free: 6.656 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/1.132, allocations: 2.664 MB / 1.159 GB, free: 3.961 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001867/1.134, allocations: 485.4 kB / 1.16 GB, free: 3.484 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/1.134, allocations: 123.4 kB / 1.16 GB, free: 3.363 MB / 0.92 GB Notification: Performance of SimCode: time 9.02e-07/1.134, allocations: 0 / 1.16 GB, free: 3.363 MB / 0.92 GB Notification: Performance of Templates: time 0.06731/1.202, allocations: 33.65 MB / 1.193 GB, free: 2.223 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches