Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001502/0.001502, 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.002724/0.002724, allocations: 192.5 kB / 16.14 MB, free: 6.719 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.596/2.596, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 59.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8207/0.822, allocations: 140.4 MB / 0.9489 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02544/0.8475, allocations: 20.1 MB / 0.9686 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01213/0.8597, allocations: 6.437 MB / 0.9749 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003217/0.8629, allocations: 75.25 kB / 0.9749 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005731/0.8687, allocations: 2.098 MB / 0.977 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.8726, allocations: 1.104 MB / 0.9781 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.8763, allocations: 1.163 MB / 0.9792 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008728/0.8851, allocations: 6.981 MB / 0.986 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/0.8953, allocations: 6.161 MB / 0.992 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003818/0.8992, allocations: 1.775 MB / 0.9938 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004371/0.9036, allocations: 2.391 MB / 0.9961 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001275/0.9048, allocations: 292 kB / 0.9964 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.9081, allocations: 1.03 MB / 0.9974 GB, free: 356 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002753/0.9109, allocations: 1.528 MB / 0.9989 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003604/0.9145, allocations: 1.762 MB / 1.001 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006896/0.9214, allocations: 6.411 MB / 1.007 GB, free: 6.617 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.9214, allocations: 0 / 1.007 GB, free: 6.617 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9214, allocations: 0 / 1.007 GB, free: 6.617 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001895/0.9216, allocations: 0 / 1.007 GB, free: 6.617 MB / 0.7637 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.007632/0.9293, allocations: 3.459 MB / 1.01 GB, free: 3.094 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.9293, allocations: 12.03 kB / 1.01 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/0.9328, allocations: 0.6332 MB / 1.011 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003955/0.9368, allocations: 1.932 MB / 1.013 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.9369, allocations: 230.3 kB / 1.013 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006188/0.9376, allocations: 296.3 kB / 1.013 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008474/0.9461, allocations: 4.89 MB / 1.018 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.488e-05/0.9462, allocations: 7.938 kB / 1.018 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/0.9465, allocations: 132 kB / 1.018 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004324/0.9469, allocations: 233.7 kB / 1.018 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006552/0.9535, allocations: 3.75 MB / 1.022 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.9763, allocations: 21.57 MB / 1.043 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.9782, allocations: 1.313 MB / 1.044 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.9795, allocations: 1.042 MB / 1.045 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.785e-05/0.9796, allocations: 13 kB / 1.045 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.9797, allocations: 43.56 kB / 1.045 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=107): time 3.737e-06/0.9797, allocations: 0 / 1.045 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of matching and sorting (n=138): time 0.02393/1.004, allocations: 8.657 MB / 1.054 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/1.004, allocations: 68.72 kB / 1.054 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/1.005, allocations: 1.122 MB / 1.055 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/1.006, allocations: 53.7 kB / 1.055 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009773/1.007, allocations: 1.296 MB / 1.056 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004957/1.007, allocations: 481 kB / 1.057 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000539/1.008, allocations: 299.3 kB / 1.057 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/1.008, allocations: 305.1 kB / 1.057 GB, free: 348 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/1.009, allocations: 0.9174 MB / 1.058 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/1.011, allocations: 1.318 MB / 1.06 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/1.014, allocations: 2.43 MB / 1.062 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.014, allocations: 0 / 1.062 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00612/1.02, allocations: 3.475 MB / 1.065 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/1.02, allocations: 12 kB / 1.065 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/1.02, allocations: 12 kB / 1.065 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003339/1.024, allocations: 1.177 MB / 1.067 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009353/1.024, allocations: 259.5 kB / 1.067 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/1.043, allocations: 12.72 MB / 1.079 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/1.044, allocations: 87.97 kB / 1.079 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/1.045, allocations: 68.38 kB / 1.079 GB, free: 9.109 MB / 0.8419 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.002183/1.047, allocations: 1.11 MB / 1.08 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004561/1.047, allocations: 162.1 kB / 1.081 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005708/1.053, allocations: 3.177 MB / 1.084 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.053, allocations: 12 kB / 1.084 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.833e-05/1.053, allocations: 16 kB / 1.084 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/1.053, allocations: 11.91 kB / 1.084 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/1.065, allocations: 6.245 MB / 1.09 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/1.065, allocations: 4.562 kB / 1.09 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/1.065, allocations: 151.8 kB / 1.09 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/1.068, allocations: 1.071 MB / 1.091 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/1.068, allocations: 28 kB / 1.091 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/1.084, allocations: 12.41 MB / 1.103 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/1.084, allocations: 4 kB / 1.103 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005705/1.09, allocations: 3.158 MB / 1.106 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009814/1.091, allocations: 423.1 kB / 1.107 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/1.092, allocations: 32 kB / 1.107 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.093, allocations: 83.83 kB / 1.107 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/1.093, allocations: 124.7 kB / 1.107 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.093, allocations: 40 kB / 1.107 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001379/1.095, allocations: 0.7632 MB / 1.108 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.7e-07/1.095, allocations: 0 / 1.108 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002378/1.097, allocations: 0.6641 MB / 1.108 GB, free: 10.75 MB / 0.8731 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.00028/1.097, allocations: 147 kB / 1.108 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005097/1.102, allocations: 3.123 MB / 1.112 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.102, allocations: 12.19 kB / 1.112 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003179/1.106, allocations: 1.943 MB / 1.113 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/1.109, allocations: 464.8 kB / 1.114 GB, free: 5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.12, allocations: 6.752 MB / 1.12 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003208/1.124, allocations: 2.332 MB / 1.123 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001414/1.125, allocations: 354.1 kB / 1.123 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/1.125, allocations: 95.44 kB / 1.123 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of SimCode: time 5.81e-07/1.125, allocations: 0 / 1.123 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of Templates: time 0.0571/1.183, allocations: 31.65 MB / 1.154 GB, free: 12.13 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches