Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.001506/0.001505, allocations: 107.8 kB / 16.41 MB, free: 6.355 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.001726/0.001726, allocations: 189.8 kB / 17.34 MB, free: 5.68 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.225/2.225, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8867/0.8882, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007017/0.8952, allocations: 5.539 MB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004624/0.8999, allocations: 2.65 MB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.9005, allocations: 25.56 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.9026, allocations: 0.684 MB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.904, allocations: 409.5 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.9053, allocations: 400.3 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.9068, allocations: 0.9633 MB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000782/0.9076, allocations: 463.4 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006955/0.9083, allocations: 376.1 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006673/0.909, allocations: 407 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.953e-05/0.9091, allocations: 52.16 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000828/0.9099, allocations: 362.5 kB / 1.101 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.9102, allocations: 248.3 kB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.9107, allocations: 354.3 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.9122, allocations: 0.9733 MB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9122, allocations: 0 / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9122, allocations: 0.5 kB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.9122, allocations: 0.5625 kB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002081/0.9143, allocations: 0.9786 MB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.9144, allocations: 9.062 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.916, allocations: 194.1 kB / 1.103 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009997/0.917, allocations: 0.5232 MB / 1.104 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.917, allocations: 41.08 kB / 1.104 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.9172, allocations: 57.03 kB / 1.104 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.9186, allocations: 0.8307 MB / 1.105 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.9186, allocations: 11 kB / 1.105 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.779e-05/0.9187, allocations: 23.45 kB / 1.105 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/0.9189, allocations: 67.91 kB / 1.105 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009818/0.9199, allocations: 0.5729 MB / 1.105 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004833/0.9247, allocations: 4.571 MB / 1.11 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.9252, allocations: 298 kB / 1.11 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.9256, allocations: 231.3 kB / 1.11 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.9256, allocations: 3.344 kB / 1.11 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.9257, allocations: 33.67 kB / 1.11 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.9257, allocations: 0.9688 kB / 1.11 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.006037/0.9317, allocations: 2.626 MB / 1.113 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.9318, allocations: 56.28 kB / 1.113 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.9324, allocations: 469.2 kB / 1.113 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.9325, allocations: 36.23 kB / 1.113 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.9327, allocations: 342.2 kB / 1.114 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.9329, allocations: 136.8 kB / 1.114 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.9331, allocations: 106.1 kB / 1.114 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.9333, allocations: 361 kB / 1.114 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.9337, allocations: 238.3 kB / 1.115 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.9343, allocations: 412.5 kB / 1.115 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009108/0.9352, allocations: 0.6733 MB / 1.116 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9352, allocations: 1.375 kB / 1.116 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001901/0.9371, allocations: 0.9168 MB / 1.117 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.9371, allocations: 8.281 kB / 1.117 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.9372, allocations: 8.938 kB / 1.117 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008316/0.938, allocations: 227.1 kB / 1.117 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.9385, allocations: 121.3 kB / 1.117 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.9442, allocations: 5.336 MB / 1.122 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.9448, allocations: 30.88 kB / 1.122 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/0.9449, allocations: 27.45 kB / 1.122 GB, free: 14.87 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(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.0003817/0.9453, allocations: 222.1 kB / 1.122 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.9454, allocations: 59.56 kB / 1.122 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.9471, allocations: 0.7779 MB / 1.123 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.9471, allocations: 4.047 kB / 1.123 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.9471, allocations: 12.03 kB / 1.123 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.9471, allocations: 1.547 kB / 1.123 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.9499, allocations: 1.495 MB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.9499, allocations: 3.062 kB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.9503, allocations: 68.16 kB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007586/0.9511, allocations: 203 kB / 1.125 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.9511, allocations: 16.28 kB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/0.9565, allocations: 5.26 MB / 1.13 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.9565, allocations: 2.188 kB / 1.13 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.9585, allocations: 1.136 MB / 1.131 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.9588, allocations: 172.5 kB / 1.131 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.036e-05/0.9589, allocations: 24.86 kB / 1.131 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.9593, allocations: 28.47 kB / 1.131 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.9595, allocations: 39.34 kB / 1.131 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.9595, allocations: 17.53 kB / 1.131 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004117/0.9599, allocations: 311.2 kB / 1.132 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9599, allocations: 0 / 1.132 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008378/0.9608, allocations: 170.9 kB / 1.132 GB, free: 7.895 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,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.0001802/0.9609, allocations: 115.8 kB / 1.132 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.9628, allocations: 1.013 MB / 1.133 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.9628, allocations: 1.375 kB / 1.133 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.9639, allocations: 0.6858 MB / 1.134 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009959/0.9649, allocations: 185.4 kB / 1.134 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.9673, allocations: 1.303 MB / 1.135 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/0.968, allocations: 0.9526 MB / 1.136 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.9681, allocations: 39.89 kB / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of SimCode: time 5.41e-07/0.9681, allocations: 1.344 kB / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of Templates: time 0.02358/0.9917, allocations: 14.95 MB / 1.151 GB, free: 0.8164 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches