Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, 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.002094/0.002094, allocations: 193.8 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.669/1.669, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.817/2.817, 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.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7655, allocations: 168.7 MB / 1.274 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008221/0.7738, allocations: 5.736 MB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004902/0.7787, allocations: 2.747 MB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004673/0.7791, allocations: 19.88 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.781, allocations: 0.7063 MB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009786/0.782, allocations: 417.8 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.783, allocations: 429.9 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.7842, allocations: 0.9513 MB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005615/0.7848, allocations: 345.2 kB / 1.285 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005178/0.7853, allocations: 378.5 kB / 1.285 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000587/0.7859, allocations: 426.4 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.179e-05/0.7859, allocations: 51.98 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006978/0.7866, allocations: 375.2 kB / 1.286 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.7869, allocations: 251.2 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000352/0.7873, allocations: 346.3 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.7884, allocations: 0.9844 MB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7884, allocations: 0 / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7885, allocations: 0 / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.7885, allocations: 3.938 kB / 1.288 GB, free: 6.297 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.001715/0.7902, allocations: 0.9962 MB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.7902, allocations: 12.03 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.7916, allocations: 200.2 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.7925, allocations: 0.53 MB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.7926, allocations: 37.38 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.7927, allocations: 52.55 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.794, allocations: 0.8318 MB / 1.29 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.794, allocations: 3.938 kB / 1.29 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/0.794, allocations: 24 kB / 1.29 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002012/0.7942, allocations: 68.94 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009009/0.7951, allocations: 0.5658 MB / 1.291 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/0.7999, allocations: 4.581 MB / 1.296 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.8004, allocations: 283.1 kB / 1.296 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.8007, allocations: 209.3 kB / 1.296 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.8007, allocations: 4.281 kB / 1.296 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.8008, allocations: 42.84 kB / 1.296 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/0.8008, allocations: 0 / 1.296 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005745/0.8065, allocations: 2.636 MB / 1.299 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.8066, allocations: 55.41 kB / 1.299 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.8071, allocations: 462 kB / 1.299 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.8071, allocations: 33.7 kB / 1.299 GB, free: 10 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.8074, allocations: 356.5 kB / 1.299 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.8075, allocations: 154.7 kB / 1.3 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.8077, allocations: 106.2 kB / 1.3 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.8078, allocations: 362.8 kB / 1.3 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.8082, allocations: 233 kB / 1.3 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.8087, allocations: 414.4 kB / 1.301 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.8096, allocations: 0.6779 MB / 1.301 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.8096, allocations: 4 kB / 1.301 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001723/0.8114, allocations: 0.9093 MB / 1.302 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.8114, allocations: 4 kB / 1.302 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.8114, allocations: 11.98 kB / 1.302 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007878/0.8122, allocations: 223 kB / 1.302 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.8127, allocations: 115.8 kB / 1.303 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005596/0.8183, allocations: 5.344 MB / 1.308 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.8188, allocations: 31.97 kB / 1.308 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.8188, allocations: 28.06 kB / 1.308 GB, free: 464 kB / 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.0003172/0.8191, allocations: 221.6 kB / 1.308 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.8192, allocations: 63.59 kB / 1.308 GB, free: 168 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.8208, allocations: 0.7696 MB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8208, allocations: 7.938 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8208, allocations: 3.984 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.8208, allocations: 0 / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.8234, allocations: 1.494 MB / 1.31 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.8234, allocations: 0 / 1.31 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.8238, allocations: 71.88 kB / 1.31 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000682/0.8245, allocations: 202.6 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.8245, allocations: 12.19 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.8299, allocations: 5.282 MB / 1.316 GB, free: 7.793 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8299, allocations: 0 / 1.316 GB, free: 7.793 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.8318, allocations: 1.135 MB / 1.317 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.8321, allocations: 164.7 kB / 1.317 GB, free: 6.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.8321, allocations: 19.88 kB / 1.317 GB, free: 6.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.8325, allocations: 31.91 kB / 1.317 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/0.8326, allocations: 31.91 kB / 1.317 GB, free: 6.348 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.8326, allocations: 16.05 kB / 1.317 GB, free: 6.332 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003654/0.833, allocations: 318.9 kB / 1.317 GB, free: 6.023 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.833, allocations: 0 / 1.317 GB, free: 6.023 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006734/0.8337, allocations: 168 kB / 1.318 GB, free: 5.859 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.0001644/0.8338, allocations: 123.6 kB / 1.318 GB, free: 5.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.8355, allocations: 0.9612 MB / 1.319 GB, free: 4.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8355, allocations: 0 / 1.319 GB, free: 4.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.8365, allocations: 0.6642 MB / 1.319 GB, free: 4.027 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009038/0.8374, allocations: 187.8 kB / 1.32 GB, free: 3.844 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.8395, allocations: 1.283 MB / 1.321 GB, free: 2.512 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.8402, allocations: 0.9533 MB / 1.322 GB, free: 1.531 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003146/0.8405, allocations: 105 kB / 1.322 GB, free: 1.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.8406, allocations: 35.44 kB / 1.322 GB, free: 1.395 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.8406, allocations: 0 / 1.322 GB, free: 1.395 MB / 1.014 GB Notification: Performance of Templates: time 0.01723/0.8578, allocations: 9.252 MB / 1.331 GB, free: 8.254 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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: 9.036104368977249]