Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.001173/0.001173, allocations: 103 kB / 16.4 MB, free: 6.465 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.001237/0.001236, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.1 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.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.89 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9293/0.9308, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007121/0.9379, allocations: 5.464 MB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005098/0.9431, allocations: 2.622 MB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000469/0.9436, allocations: 25.31 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.9456, allocations: 0.6744 MB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.9469, allocations: 408.7 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.9481, allocations: 387.7 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001475/0.9496, allocations: 0.9605 MB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008065/0.9504, allocations: 471.7 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006453/0.9511, allocations: 367 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000614/0.9517, allocations: 408.7 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.652e-05/0.9518, allocations: 48.56 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008827/0.9527, allocations: 363.4 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.953, allocations: 243.6 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.9535, allocations: 353.9 kB / 1.101 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.9549, allocations: 0.968 MB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9549, allocations: 0 / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9549, allocations: 0 / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.955, allocations: 1.828 kB / 1.102 GB, free: 13.43 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.001893/0.9568, allocations: 0.9677 MB / 1.103 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.9569, allocations: 9.703 kB / 1.103 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.9584, allocations: 194.4 kB / 1.103 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009792/0.9593, allocations: 0.5196 MB / 1.104 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.9594, allocations: 37.12 kB / 1.104 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.9596, allocations: 60.48 kB / 1.104 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.9609, allocations: 0.8321 MB / 1.105 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.9609, allocations: 6.125 kB / 1.105 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/0.961, allocations: 19.31 kB / 1.105 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001995/0.9612, allocations: 68.31 kB / 1.105 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000947/0.9621, allocations: 0.5764 MB / 1.105 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004784/0.9669, allocations: 4.57 MB / 1.11 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.9675, allocations: 298 kB / 1.11 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.9678, allocations: 231.2 kB / 1.11 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.9679, allocations: 2.75 kB / 1.11 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.9679, allocations: 34.31 kB / 1.11 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.9679, allocations: 0 / 1.11 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.005926/0.9738, allocations: 2.627 MB / 1.113 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.9739, allocations: 55.12 kB / 1.113 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.9745, allocations: 465.4 kB / 1.113 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.9745, allocations: 31.98 kB / 1.113 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.9748, allocations: 341.8 kB / 1.114 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.9749, allocations: 137.1 kB / 1.114 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.9751, allocations: 109.6 kB / 1.114 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.9753, allocations: 359.7 kB / 1.114 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.9758, allocations: 242.5 kB / 1.114 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.9763, allocations: 413.3 kB / 1.115 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008936/0.9772, allocations: 0.6722 MB / 1.115 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9772, allocations: 2.312 kB / 1.115 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001764/0.979, allocations: 0.9162 MB / 1.116 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.979, allocations: 7.656 kB / 1.116 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.979, allocations: 10.38 kB / 1.116 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008215/0.9799, allocations: 222.7 kB / 1.117 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.9804, allocations: 117 kB / 1.117 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.986, allocations: 5.337 MB / 1.122 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.9866, allocations: 28.92 kB / 1.122 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.9867, allocations: 24.58 kB / 1.122 GB, free: 14.96 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.0003629/0.987, allocations: 226.2 kB / 1.122 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.9872, allocations: 59.91 kB / 1.122 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.9888, allocations: 0.7734 MB / 1.123 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.9888, allocations: 5.328 kB / 1.123 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.9888, allocations: 9.875 kB / 1.123 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.9889, allocations: 2.109 kB / 1.123 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.9917, allocations: 1.496 MB / 1.124 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.9917, allocations: 1.344 kB / 1.124 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.9921, allocations: 70.88 kB / 1.125 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007538/0.9929, allocations: 208.2 kB / 1.125 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.993, allocations: 8.5 kB / 1.125 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005439/0.9984, allocations: 5.272 MB / 1.13 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.9984, allocations: 5.328 kB / 1.13 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/1, allocations: 1.137 MB / 1.131 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/1.001, allocations: 172.2 kB / 1.131 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.001, allocations: 19.84 kB / 1.131 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/1.001, allocations: 22.69 kB / 1.131 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/1.001, allocations: 37.78 kB / 1.131 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/1.001, allocations: 13.22 kB / 1.131 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004709/1.002, allocations: 312.3 kB / 1.132 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.01e-07/1.002, allocations: 0 / 1.132 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009641/1.003, allocations: 168.6 kB / 1.132 GB, free: 7.988 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.0001963/1.003, allocations: 115.9 kB / 1.132 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001928/1.005, allocations: 1.014 MB / 1.133 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.005, allocations: 0 / 1.133 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/1.006, allocations: 0.6851 MB / 1.134 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/1.007, allocations: 177.6 kB / 1.134 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/1.01, allocations: 1.31 MB / 1.135 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/1.011, allocations: 0.9507 MB / 1.136 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/1.011, allocations: 40.23 kB / 1.136 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of SimCode: time 4.01e-07/1.011, allocations: 0 / 1.136 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of Templates: time 0.02589/1.037, allocations: 14.82 MB / 1.15 GB, free: 1.008 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches