Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002101/0.002101, allocations: 199.2 kB / 16.14 MB, free: 6.711 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.796/2.796, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001988, allocations: 63.89 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8272/0.8292, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02529/0.8545, allocations: 20.11 MB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.8684, allocations: 6.438 MB / 1.043 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.8711, allocations: 79.56 kB / 1.043 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00578/0.877, allocations: 2.081 MB / 1.045 GB, free: 5.957 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00474/0.8817, allocations: 1.112 MB / 1.046 GB, free: 4.84 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/0.8857, allocations: 1.169 MB / 1.047 GB, free: 3.672 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00929/0.895, allocations: 6.968 MB / 1.054 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01176/0.9068, allocations: 6.179 MB / 1.06 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004337/0.9112, allocations: 1.783 MB / 1.061 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005098/0.9163, allocations: 2.383 MB / 1.064 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.9179, allocations: 292 kB / 1.064 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.9215, allocations: 1.03 MB / 1.065 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003257/0.9248, allocations: 1.532 MB / 1.067 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004671/0.9295, allocations: 1.766 MB / 1.068 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009866/0.9394, allocations: 6.403 MB / 1.075 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.9394, allocations: 4 kB / 1.075 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.198e-06/0.9394, allocations: 3.984 kB / 1.075 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002772/0.9397, allocations: 0 / 1.075 GB, free: 7.211 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.0113/0.951, allocations: 3.444 MB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.9511, allocations: 8.031 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00405/0.9552, allocations: 0.6487 MB / 1.079 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006133/0.9613, allocations: 1.94 MB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000322/0.9617, allocations: 222.3 kB / 1.081 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.9631, allocations: 296.3 kB / 1.081 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.9741, allocations: 4.886 MB / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.141e-05/0.9742, allocations: 15.92 kB / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003313/0.9746, allocations: 132 kB / 1.086 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004771/0.975, allocations: 221.7 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007686/0.9827, allocations: 3.754 MB / 1.09 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02968/1.012, allocations: 21.57 MB / 1.111 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/1.015, allocations: 1.308 MB / 1.112 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/1.016, allocations: 1.046 MB / 1.113 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-05/1.016, allocations: 13 kB / 1.113 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/1.016, allocations: 51.5 kB / 1.113 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 3.447e-06/1.016, allocations: 0 / 1.113 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02527/1.042, allocations: 8.641 MB / 1.122 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/1.042, allocations: 72.66 kB / 1.122 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/1.044, allocations: 1.126 MB / 1.123 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/1.044, allocations: 53.7 kB / 1.123 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.045, allocations: 1.304 MB / 1.124 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005161/1.045, allocations: 477.1 kB / 1.125 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004999/1.046, allocations: 291.3 kB / 1.125 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.046, allocations: 305.1 kB / 1.125 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/1.047, allocations: 0.9135 MB / 1.126 GB, free: 40 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/1.049, allocations: 1.326 MB / 1.127 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0034/1.052, allocations: 2.426 MB / 1.13 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/1.052, allocations: 4 kB / 1.13 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006812/1.059, allocations: 3.46 MB / 1.133 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/1.059, allocations: 16.03 kB / 1.133 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/1.059, allocations: 15.98 kB / 1.133 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/1.063, allocations: 1.176 MB / 1.134 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/1.064, allocations: 263.5 kB / 1.135 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/1.082, allocations: 12.72 MB / 1.147 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.083, allocations: 87.97 kB / 1.147 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/1.083, allocations: 67.94 kB / 1.147 GB, free: 9.723 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002046/1.085, allocations: 1.11 MB / 1.148 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003562/1.086, allocations: 174 kB / 1.148 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00595/1.092, allocations: 3.165 MB / 1.151 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.092, allocations: 12 kB / 1.151 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/1.092, allocations: 12 kB / 1.151 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/1.092, allocations: 11.91 kB / 1.151 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/1.104, allocations: 6.252 MB / 1.158 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.104, allocations: 4 kB / 1.158 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/1.104, allocations: 143.8 kB / 1.158 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003122/1.107, allocations: 1.085 MB / 1.159 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/1.108, allocations: 27.98 kB / 1.159 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/1.125, allocations: 12.41 MB / 1.171 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.125, allocations: 4 kB / 1.171 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005935/1.131, allocations: 3.15 MB / 1.174 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.132, allocations: 427.1 kB / 1.174 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/1.132, allocations: 28 kB / 1.174 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007673/1.133, allocations: 87.83 kB / 1.175 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/1.133, allocations: 124.7 kB / 1.175 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.376e-05/1.133, allocations: 36 kB / 1.175 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001179/1.134, allocations: 0.771 MB / 1.175 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.326e-06/1.134, allocations: 0 / 1.175 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002279/1.137, allocations: 0.664 MB / 1.176 GB, free: 11.36 MB / 0.9356 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002864/1.137, allocations: 143.5 kB / 1.176 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005272/1.142, allocations: 3.111 MB / 1.179 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.142, allocations: 4 kB / 1.179 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003239/1.146, allocations: 1.956 MB / 1.181 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/1.148, allocations: 477.7 kB / 1.182 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.159, allocations: 6.733 MB / 1.188 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/1.162, allocations: 2.344 MB / 1.19 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001278/1.163, allocations: 350.1 kB / 1.191 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/1.164, allocations: 91.42 kB / 1.191 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of SimCode: time 1.763e-06/1.164, allocations: 0 / 1.191 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of Templates: time 0.06259/1.226, allocations: 31.66 MB / 1.222 GB, free: 12.73 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches