Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 192.7 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7334, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007886/0.7412, allocations: 5.664 MB / 1.28 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004678/0.7459, allocations: 2.716 MB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.7462, allocations: 19.88 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.7482, allocations: 0.711 MB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009509/0.7491, allocations: 417.8 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009948/0.7501, allocations: 399 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.7513, allocations: 0.9669 MB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005441/0.7519, allocations: 345.2 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004755/0.7523, allocations: 370.6 kB / 1.285 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.7529, allocations: 430.3 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-05/0.753, allocations: 48 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006432/0.7536, allocations: 367.2 kB / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.7539, allocations: 251.2 kB / 1.286 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.7543, allocations: 350.2 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.7555, allocations: 0.9767 MB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7555, allocations: 4 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7555, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.7555, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 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.001726/0.7572, allocations: 0.9922 MB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.7572, allocations: 8.031 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.7586, allocations: 200.3 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/0.7596, allocations: 0.5145 MB / 1.289 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.7596, allocations: 49.34 kB / 1.289 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.7598, allocations: 56.55 kB / 1.289 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.7611, allocations: 0.8241 MB / 1.29 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.7611, allocations: 11.94 kB / 1.29 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.7611, allocations: 19.98 kB / 1.29 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002051/0.7614, allocations: 68.95 kB / 1.29 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009202/0.7623, allocations: 0.5658 MB / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004951/0.7672, allocations: 4.578 MB / 1.295 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.7677, allocations: 283.2 kB / 1.296 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.768, allocations: 205.3 kB / 1.296 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.7681, allocations: 4.281 kB / 1.296 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.7681, allocations: 38.84 kB / 1.296 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.7681, allocations: 0 / 1.296 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005791/0.7739, allocations: 2.64 MB / 1.298 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.774, allocations: 55.41 kB / 1.299 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.7745, allocations: 461.9 kB / 1.299 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.7745, allocations: 33.7 kB / 1.299 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.7748, allocations: 344.6 kB / 1.299 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.7749, allocations: 154.6 kB / 1.299 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.7751, allocations: 102.2 kB / 1.3 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.7752, allocations: 366.8 kB / 1.3 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.7756, allocations: 244.9 kB / 1.3 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.7761, allocations: 406.5 kB / 1.301 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/0.777, allocations: 0.6779 MB / 1.301 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7771, allocations: 0 / 1.301 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001722/0.7788, allocations: 0.9174 MB / 1.302 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.7788, allocations: 8 kB / 1.302 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.7788, allocations: 4 kB / 1.302 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008153/0.7796, allocations: 226.6 kB / 1.302 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.7801, allocations: 119.8 kB / 1.302 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005794/0.7859, allocations: 5.336 MB / 1.308 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.7864, allocations: 27.97 kB / 1.308 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.7864, allocations: 24 kB / 1.308 GB, free: 0.7188 MB / 0.9981 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.0003283/0.7868, allocations: 229.7 kB / 1.308 GB, free: 496 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.7869, allocations: 59.61 kB / 1.308 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.7884, allocations: 0.762 MB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.7884, allocations: 4 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7884, allocations: 4 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.7884, allocations: 3.984 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.791, allocations: 1.498 MB / 1.31 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7911, allocations: 0 / 1.31 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.7915, allocations: 72.06 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006948/0.7922, allocations: 214.5 kB / 1.31 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.7922, allocations: 12 kB / 1.31 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00538/0.7976, allocations: 5.27 MB / 1.316 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7976, allocations: 3.938 kB / 1.316 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.7995, allocations: 1.12 MB / 1.317 GB, free: 6.887 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.7997, allocations: 168.7 kB / 1.317 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.7998, allocations: 11.94 kB / 1.317 GB, free: 6.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.8002, allocations: 27.97 kB / 1.317 GB, free: 6.664 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.8002, allocations: 35.89 kB / 1.317 GB, free: 6.629 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.8003, allocations: 12 kB / 1.317 GB, free: 6.617 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003639/0.8006, allocations: 310.9 kB / 1.317 GB, free: 6.316 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.8006, allocations: 4.062 kB / 1.317 GB, free: 6.312 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006676/0.8013, allocations: 172 kB / 1.317 GB, free: 6.145 MB / 1.014 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.0001592/0.8015, allocations: 115.7 kB / 1.318 GB, free: 6.023 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.8031, allocations: 0.9688 MB / 1.318 GB, free: 5.016 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8031, allocations: 3.938 kB / 1.318 GB, free: 5.012 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.8041, allocations: 0.6759 MB / 1.319 GB, free: 4.297 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000902/0.805, allocations: 189.5 kB / 1.319 GB, free: 4.117 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.8071, allocations: 1.265 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.8077, allocations: 0.9455 MB / 1.321 GB, free: 1.828 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003069/0.808, allocations: 117 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.8081, allocations: 39.42 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.8081, allocations: 0 / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of Templates: time 0.01659/0.8247, allocations: 9.242 MB / 1.331 GB, free: 8.547 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.701624766923487]