Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001283/0.001283, allocations: 109.5 kB / 16.41 MB, free: 6.488 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.001264/0.001264, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.395/1.395, 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 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.89 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.952/0.9535, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007565/0.9611, allocations: 5.465 MB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004383/0.9655, allocations: 2.638 MB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003859/0.966, allocations: 19.88 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.9678, allocations: 0.6859 MB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.9689, allocations: 425.7 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000976/0.9699, allocations: 392.6 kB / 1.177 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.9709, allocations: 0.9514 MB / 1.178 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006195/0.9715, allocations: 462.3 kB / 1.178 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/0.972, allocations: 382.5 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004993/0.9725, allocations: 402.5 kB / 1.179 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.817e-05/0.9726, allocations: 51.94 kB / 1.179 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006399/0.9732, allocations: 359.3 kB / 1.179 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.9734, allocations: 243.3 kB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.9738, allocations: 358.2 kB / 1.18 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009918/0.9748, allocations: 0.9596 MB / 1.181 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9748, allocations: 0 / 1.181 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9748, allocations: 4 kB / 1.181 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.9748, allocations: 0 / 1.181 GB, free: 6.109 MB / 0.9044 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.001585/0.9764, allocations: 0.9815 MB / 1.182 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.9764, allocations: 8.625 kB / 1.182 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.9778, allocations: 195.8 kB / 1.182 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000819/0.9787, allocations: 0.5103 MB / 1.182 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.9787, allocations: 33.38 kB / 1.182 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.9789, allocations: 60.45 kB / 1.182 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.98, allocations: 0.8318 MB / 1.183 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.98, allocations: 3.938 kB / 1.183 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.9801, allocations: 27.98 kB / 1.183 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/0.9803, allocations: 68.94 kB / 1.183 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00083/0.9811, allocations: 0.5697 MB / 1.184 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.9854, allocations: 4.565 MB / 1.188 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.9859, allocations: 295.2 kB / 1.189 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.9862, allocations: 233.2 kB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.9862, allocations: 4.281 kB / 1.189 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.9863, allocations: 38.84 kB / 1.189 GB, free: 13.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.9863, allocations: 0 / 1.189 GB, free: 13.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.005482/0.9918, allocations: 2.631 MB / 1.191 GB, free: 10.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.9918, allocations: 59.41 kB / 1.192 GB, free: 10.33 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.9923, allocations: 461.9 kB / 1.192 GB, free: 9.863 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.9924, allocations: 33.7 kB / 1.192 GB, free: 9.824 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.9926, allocations: 347.6 kB / 1.192 GB, free: 9.48 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.9928, allocations: 138 kB / 1.192 GB, free: 9.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.9929, allocations: 102.2 kB / 1.193 GB, free: 9.238 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.9931, allocations: 362.8 kB / 1.193 GB, free: 8.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.9935, allocations: 237 kB / 1.193 GB, free: 8.645 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/0.9939, allocations: 410.4 kB / 1.194 GB, free: 8.168 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008873/0.9948, allocations: 0.674 MB / 1.194 GB, free: 7.422 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9949, allocations: 0 / 1.194 GB, free: 7.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001697/0.9966, allocations: 0.9213 MB / 1.195 GB, free: 6.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.9966, allocations: 8 kB / 1.195 GB, free: 6.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.9966, allocations: 8.062 kB / 1.195 GB, free: 6.469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008187/0.9974, allocations: 226.4 kB / 1.195 GB, free: 6.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.998, allocations: 119.8 kB / 1.195 GB, free: 6.121 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/1.003, allocations: 5.333 MB / 1.201 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/1.004, allocations: 35.97 kB / 1.201 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/1.004, allocations: 20 kB / 1.201 GB, free: 324 kB / 0.92 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.0003819/1.004, allocations: 224.4 kB / 1.201 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/1.005, allocations: 59.28 kB / 1.201 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/1.006, allocations: 0.7773 MB / 1.202 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/1.006, allocations: 4 kB / 1.202 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.006, allocations: 8 kB / 1.202 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.006, allocations: 3.984 kB / 1.202 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/1.009, allocations: 1.491 MB / 1.203 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.009, allocations: 7.938 kB / 1.203 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/1.009, allocations: 63.89 kB / 1.203 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006957/1.01, allocations: 206.6 kB / 1.203 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/1.01, allocations: 12.05 kB / 1.203 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/1.015, allocations: 5.278 MB / 1.209 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.015, allocations: 0 / 1.209 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/1.017, allocations: 1.127 MB / 1.21 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/1.017, allocations: 176.3 kB / 1.21 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/1.018, allocations: 11.94 kB / 1.21 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/1.018, allocations: 23.97 kB / 1.21 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.018, allocations: 43.95 kB / 1.21 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/1.018, allocations: 16.12 kB / 1.21 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003783/1.018, allocations: 310.9 kB / 1.21 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.018, allocations: 0 / 1.21 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000773/1.019, allocations: 164 kB / 1.21 GB, free: 5.727 MB / 0.9356 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.0002036/1.019, allocations: 127.5 kB / 1.211 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001785/1.021, allocations: 1.005 MB / 1.212 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.021, allocations: 4 kB / 1.212 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009918/1.022, allocations: 0.6837 MB / 1.212 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009348/1.023, allocations: 179.9 kB / 1.212 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/1.026, allocations: 1.302 MB / 1.214 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/1.026, allocations: 0.9494 MB / 1.215 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/1.027, allocations: 43.42 kB / 1.215 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/1.027, allocations: 0 / 1.215 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of Templates: time 0.02176/1.048, allocations: 14.83 MB / 1.229 GB, free: 2.488 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches