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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008663/0.0008663, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8746/0.8746, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.64/1.64, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.743e-06/1.743e-06, allocations: 0 / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.59e-05, allocations: 5.375 kB / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004862/0.004888, allocations: 5.301 MB / 0.9569 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.007513, allocations: 2.599 MB / 0.9594 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.007723, allocations: 31.69 kB / 0.9595 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.008889, allocations: 0.6838 MB / 0.9601 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005393/0.009428, allocations: 445.2 kB / 0.9606 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.009937, allocations: 414.8 kB / 0.961 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006215/0.01056, allocations: 0.9902 MB / 0.9619 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/0.01096, allocations: 374.5 kB / 0.9623 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.01139, allocations: 0.5259 MB / 0.9628 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.01174, allocations: 367 kB / 0.9631 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.01178, allocations: 51.94 kB / 0.9632 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.01211, allocations: 327.1 kB / 0.9635 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.01227, allocations: 267.2 kB / 0.9638 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.01243, allocations: 243.4 kB / 0.964 GB, free: 6.387 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.01316, allocations: 0.993 MB / 0.965 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01316, allocations: 8 kB / 0.965 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.82e-07/0.01316, allocations: 3.938 kB / 0.965 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.01317, allocations: 4 kB / 0.965 GB, free: 5.375 MB / 0.9167 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.0009913/0.01416, allocations: 0.9014 MB / 0.9659 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.0142, allocations: 12.03 kB / 0.9659 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007064/0.0149, allocations: 212.2 kB / 0.9661 GB, free: 4.223 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.01542, allocations: 468.1 kB / 0.9665 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.01544, allocations: 45.36 kB / 0.9666 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.01555, allocations: 48.56 kB / 0.9666 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.01657, allocations: 0.9828 MB / 0.9676 GB, free: 2.543 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.01659, allocations: 8.125 kB / 0.9676 GB, free: 2.535 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.01662, allocations: 24.11 kB / 0.9676 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.01673, allocations: 72.94 kB / 0.9677 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005565/0.01728, allocations: 0.5658 MB / 0.9682 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.01956, allocations: 3.468 MB / 0.9716 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.01987, allocations: 279.2 kB / 0.9719 GB, free: 14 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.02006, allocations: 209.3 kB / 0.9721 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.02008, allocations: 8.219 kB / 0.9721 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.0201, allocations: 34.84 kB / 0.9721 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.02011, allocations: 4 kB / 0.9721 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.003276/0.02338, allocations: 2.331 MB / 0.9744 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.02341, allocations: 63.41 kB / 0.9745 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.02369, allocations: 433.7 kB / 0.9749 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.02372, allocations: 33.69 kB / 0.9749 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.02387, allocations: 356.4 kB / 0.9752 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.02394, allocations: 142.8 kB / 0.9754 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.02404, allocations: 110.2 kB / 0.9755 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.02416, allocations: 362.7 kB / 0.9758 GB, free: 9.832 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.02439, allocations: 237.2 kB / 0.9761 GB, free: 9.602 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.02468, allocations: 407.3 kB / 0.9764 GB, free: 9.125 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005581/0.02524, allocations: 0.6818 MB / 0.9771 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.02524, allocations: 0 / 0.9771 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009408/0.02619, allocations: 0.9135 MB / 0.978 GB, free: 7.441 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.0262, allocations: 8 kB / 0.978 GB, free: 7.434 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.02621, allocations: 4 kB / 0.978 GB, free: 7.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.02662, allocations: 226.8 kB / 0.9782 GB, free: 7.199 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.02688, allocations: 119.7 kB / 0.9783 GB, free: 7.082 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/0.03002, allocations: 4.934 MB / 0.9832 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.03021, allocations: 28.16 kB / 0.9832 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.03023, allocations: 31.92 kB / 0.9832 GB, free: 1.785 MB / 0.9323 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.0001834/0.03042, allocations: 225.7 kB / 0.9834 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.03047, allocations: 51.67 kB / 0.9835 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008421/0.03131, allocations: 0.7656 MB / 0.9842 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.03131, allocations: 8 kB / 0.9842 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.03132, allocations: 0 / 0.9842 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.03132, allocations: 0 / 0.9842 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.03265, allocations: 1.334 MB / 0.9855 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.03266, allocations: 4 kB / 0.9855 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.03284, allocations: 67.89 kB / 0.9856 GB, free: 15.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003328/0.03317, allocations: 202.6 kB / 0.9858 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.03319, allocations: 11.98 kB / 0.9858 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/0.03602, allocations: 4.863 MB / 0.9906 GB, free: 9.852 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.03602, allocations: 7.984 kB / 0.9906 GB, free: 9.844 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.03704, allocations: 1.12 MB / 0.9917 GB, free: 8.676 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.03716, allocations: 91.61 kB / 0.9918 GB, free: 8.586 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.03719, allocations: 15.92 kB / 0.9918 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.03735, allocations: 27.97 kB / 0.9918 GB, free: 8.543 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.0374, allocations: 31.94 kB / 0.9918 GB, free: 8.512 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.03742, allocations: 16 kB / 0.9918 GB, free: 8.496 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001884/0.03761, allocations: 290.9 kB / 0.9921 GB, free: 8.211 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.03761, allocations: 0 / 0.9921 GB, free: 8.211 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004152/0.03802, allocations: 175.9 kB / 0.9923 GB, free: 8.039 MB / 0.948 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.0001215/0.03814, allocations: 111.3 kB / 0.9924 GB, free: 7.918 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009216/0.03907, allocations: 0.9688 MB / 0.9933 GB, free: 6.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.03907, allocations: 4.125 kB / 0.9933 GB, free: 6.906 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.03954, allocations: 0.6602 MB / 0.994 GB, free: 6.207 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.04004, allocations: 176.5 kB / 0.9942 GB, free: 6.043 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.04163, allocations: 1.28 MB / 0.9954 GB, free: 4.707 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.04187, allocations: 358.1 kB / 0.9957 GB, free: 4.328 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.206e-05/0.04196, allocations: 36.5 kB / 0.9958 GB, free: 4.293 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/0.04196, allocations: 4 kB / 0.9958 GB, free: 4.289 MB / 0.948 GB Notification: Performance of Templates: time 0.01207/0.05403, allocations: 15.06 MB / 1.01 GB, free: 5.273 MB / 0.9636 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.665846551768482]