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.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.001417/0.001417, allocations: 81.61 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001558/0.001558, allocations: 167.7 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.677/2.677, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] 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.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 1.663e-06/1.663e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.088e-05, allocations: 8.047 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008014/0.008045, allocations: 5.211 MB / 0.9561 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004874/0.01292, allocations: 2.576 MB / 0.9586 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.0134, allocations: 31.75 kB / 0.9586 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.01553, allocations: 0.6727 MB / 0.9593 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.01667, allocations: 441.3 kB / 0.9597 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.01773, allocations: 412 kB / 0.9601 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.0191, allocations: 0.9785 MB / 0.961 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006993/0.0198, allocations: 378.5 kB / 0.9614 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.02093, allocations: 0.522 MB / 0.9619 GB, free: 320 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006897/0.02162, allocations: 367 kB / 0.9623 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.224e-05/0.02172, allocations: 48 kB / 0.9623 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000649/0.02236, allocations: 335 kB / 0.9626 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.02265, allocations: 267.2 kB / 0.9629 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.02298, allocations: 235.4 kB / 0.9631 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.02418, allocations: 0.9968 MB / 0.9641 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.02419, allocations: 0 / 0.9641 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.193e-06/0.02419, allocations: 0 / 0.9641 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.0242, allocations: 0 / 0.9641 GB, free: 14.09 MB / 0.8731 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.001656/0.02586, allocations: 0.9131 MB / 0.965 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.02589, allocations: 8.031 kB / 0.965 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.02736, allocations: 200.2 kB / 0.9652 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008276/0.02819, allocations: 447 kB / 0.9656 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.02823, allocations: 41.36 kB / 0.9656 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.02841, allocations: 64.44 kB / 0.9657 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.02977, allocations: 0.9712 MB / 0.9666 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.0298, allocations: 8.109 kB / 0.9667 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.03e-05/0.02987, allocations: 28.11 kB / 0.9667 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/0.03007, allocations: 64.95 kB / 0.9667 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.03107, allocations: 0.5658 MB / 0.9673 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/0.03536, allocations: 3.476 MB / 0.9707 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.03587, allocations: 287.1 kB / 0.971 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.0362, allocations: 205.3 kB / 0.9712 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.03623, allocations: 8.219 kB / 0.9712 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.03626, allocations: 38.84 kB / 0.9712 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.023e-06/0.03626, allocations: 4 kB / 0.9712 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.005886/0.04215, allocations: 2.331 MB / 0.9735 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.04219, allocations: 55.41 kB / 0.9735 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.04271, allocations: 417.8 kB / 0.9739 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.04275, allocations: 33.7 kB / 0.974 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.04302, allocations: 360.4 kB / 0.9743 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.04315, allocations: 150.7 kB / 0.9745 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.04332, allocations: 106.2 kB / 0.9746 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.0435, allocations: 358.7 kB / 0.9749 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.04388, allocations: 241.2 kB / 0.9751 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.0444, allocations: 413.4 kB / 0.9755 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009542/0.04536, allocations: 0.674 MB / 0.9762 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.04536, allocations: 3.938 kB / 0.9762 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001784/0.04715, allocations: 0.9133 MB / 0.9771 GB, free: 192 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.04717, allocations: 9.719 kB / 0.9771 GB, free: 184 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.04718, allocations: 7.984 kB / 0.9771 GB, free: 176 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008582/0.04804, allocations: 223 kB / 0.9773 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.04856, allocations: 115.8 kB / 0.9774 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/0.05405, allocations: 4.938 MB / 0.9822 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.05448, allocations: 27.97 kB / 0.9823 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.05453, allocations: 27.94 kB / 0.9823 GB, free: 10.54 MB / 0.8887 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.0003202/0.05485, allocations: 229.7 kB / 0.9825 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.05495, allocations: 51.67 kB / 0.9826 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.05657, allocations: 0.7615 MB / 0.9833 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.05657, allocations: 4 kB / 0.9833 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.05658, allocations: 4 kB / 0.9833 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.05658, allocations: 3.984 kB / 0.9833 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.05905, allocations: 1.33 MB / 0.9846 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.05905, allocations: 0 / 0.9846 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.05946, allocations: 75.88 kB / 0.9847 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007283/0.06019, allocations: 202.6 kB / 0.9849 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.06022, allocations: 8 kB / 0.9849 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005236/0.06546, allocations: 4.867 MB / 0.9896 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.06546, allocations: 0 / 0.9896 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.06738, allocations: 1.128 MB / 0.9907 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.06759, allocations: 87.66 kB / 0.9908 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.06766, allocations: 16.12 kB / 0.9908 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.068, allocations: 31.97 kB / 0.9909 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.0681, allocations: 31.94 kB / 0.9909 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.06813, allocations: 12 kB / 0.9909 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003312/0.06846, allocations: 287.1 kB / 0.9912 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7e-08/0.06846, allocations: 0 / 0.9912 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007115/0.06917, allocations: 176.1 kB / 0.9914 GB, free: 0.7969 MB / 0.8887 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.0001859/0.06936, allocations: 103.2 kB / 0.9914 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.07103, allocations: 0.9651 MB / 0.9924 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.07104, allocations: 4 kB / 0.9924 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.07205, allocations: 0.6603 MB / 0.993 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.07292, allocations: 177.5 kB / 0.9932 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.07498, allocations: 1.215 MB / 0.9944 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.07536, allocations: 354 kB / 0.9947 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002972/0.07566, allocations: 104.8 kB / 0.9948 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.07576, allocations: 32.5 kB / 0.9949 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.07576, allocations: 11.94 kB / 0.9949 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.01675/0.09251, allocations: 9.018 MB / 1.004 GB, free: 4.238 MB / 0.9044 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.070837050676346]