Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.000857/0.0008571, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008563/0.008563, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.501/1.501, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.894/2.894, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.000443, allocations: 10.09 kB / 0.9027 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3937, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007125/0.4009, allocations: 5.082 MB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005551/0.4065, allocations: 2.6 MB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008692/0.4074, allocations: 19.88 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.408, allocations: 103.1 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.4095, allocations: 386.1 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.4108, allocations: 363.2 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001772/0.4125, allocations: 1.24 MB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.4142, allocations: 0.7895 MB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007734/0.415, allocations: 306.6 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008374/0.4159, allocations: 394.4 kB / 1.07 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.416, allocations: 28 kB / 1.07 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009691/0.417, allocations: 427.1 kB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003598/0.4174, allocations: 223.3 kB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005925/0.418, allocations: 343.9 kB / 1.071 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.4195, allocations: 0.95 MB / 1.072 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4195, allocations: 0 / 1.072 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4195, allocations: 0 / 1.072 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.069e-05/0.4195, allocations: 0 / 1.072 GB, free: 7.715 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001949/0.4215, allocations: 0.8608 MB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4216, allocations: 11.97 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.4232, allocations: 191.8 kB / 1.073 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/0.4241, allocations: 486.6 kB / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.4241, allocations: 45.36 kB / 1.073 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.4243, allocations: 56.41 kB / 1.073 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.4257, allocations: 0.8241 MB / 1.074 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.4258, allocations: 11.94 kB / 1.074 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.4258, allocations: 23.98 kB / 1.074 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002027/0.426, allocations: 68.94 kB / 1.074 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000975/0.427, allocations: 0.5658 MB / 1.075 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005008/0.432, allocations: 4.589 MB / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.4326, allocations: 299.2 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.4329, allocations: 225.3 kB / 1.08 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.433, allocations: 8.281 kB / 1.08 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.433, allocations: 38.84 kB / 1.08 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.935e-06/0.433, allocations: 3.938 kB / 1.08 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.006136/0.4392, allocations: 2.627 MB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4392, allocations: 55.41 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.4398, allocations: 465.8 kB / 1.083 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.4399, allocations: 33.7 kB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.4401, allocations: 339.6 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.4403, allocations: 142 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.4404, allocations: 45.7 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4405, allocations: 362.8 kB / 1.084 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.4409, allocations: 237 kB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.4415, allocations: 410.4 kB / 1.084 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.4429, allocations: 0.6818 MB / 1.085 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.4429, allocations: 4 kB / 1.085 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002494/0.4454, allocations: 0.9129 MB / 1.086 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.4455, allocations: 8.656 kB / 1.086 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.4455, allocations: 7.984 kB / 1.086 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.4466, allocations: 222.4 kB / 1.086 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.4473, allocations: 119.8 kB / 1.086 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006772/0.4541, allocations: 4.938 MB / 1.091 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006971/0.4548, allocations: 35.97 kB / 1.091 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-05/0.4549, allocations: 24 kB / 1.091 GB, free: 2.52 MB / 0.8419 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.0005118/0.4554, allocations: 225.6 kB / 1.091 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.4556, allocations: 59.33 kB / 1.091 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.458, allocations: 0.7733 MB / 1.092 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.4581, allocations: 4 kB / 1.092 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.4581, allocations: 4 kB / 1.092 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.4581, allocations: 3.984 kB / 1.092 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/0.4622, allocations: 1.498 MB / 1.093 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.4622, allocations: 4 kB / 1.093 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.4628, allocations: 68.06 kB / 1.093 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.4639, allocations: 210.6 kB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.464, allocations: 12 kB / 1.094 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006939/0.4709, allocations: 4.876 MB / 1.098 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.471, allocations: 0 / 1.098 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.4737, allocations: 1.135 MB / 1.1 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.4742, allocations: 164.4 kB / 1.1 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.4744, allocations: 12 kB / 1.1 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.475, allocations: 27.95 kB / 1.1 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.4752, allocations: 35.97 kB / 1.1 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.4752, allocations: 16 kB / 1.1 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005614/0.4758, allocations: 314.9 kB / 1.1 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4758, allocations: 3.938 kB / 1.1 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001194/0.477, allocations: 167.9 kB / 1.1 GB, free: 8.344 MB / 0.8575 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.0002462/0.4773, allocations: 111.2 kB / 1.1 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002304/0.4796, allocations: 1.012 MB / 1.101 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4796, allocations: 0 / 1.101 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.4809, allocations: 0.6879 MB / 1.102 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.4825, allocations: 168.4 kB / 1.102 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.4858, allocations: 1.552 MB / 1.104 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007894/0.4866, allocations: 0.9494 MB / 1.105 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006407/0.4873, allocations: 113 kB / 1.105 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.4875, allocations: 35.44 kB / 1.105 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of SimCode: time 9.92e-07/0.4875, allocations: 0 / 1.105 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of Templates: time 0.01796/0.5054, allocations: 8.408 MB / 1.113 GB, free: 11.26 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches